Получите INT от терминала Java
Scanner myInput = new Scanner( System.in );
Amused Armadillo
Scanner myInput = new Scanner( System.in );