it works! You just have to insert the number in the console, if you want to make it clearer just add something like System.out.println("insert the number here ->") before of the scanner