Consola de entrada usando Java
Scanner sc = new Scanner(System.in);//Creating object of Scannr class
int x = sc.nextInt();//Getting input from user
Defeated Dragonfly
Scanner sc = new Scanner(System.in);//Creating object of Scannr class
int x = sc.nextInt();//Getting input from user