Входная консоль с использованием java
Scanner sc = new Scanner(System.in);//Creating object of Scannr class
int x = sc.nextInt();//Getting input from user
Defeated Dragonfly