how to input the scanner class
package en.codegym.task.jdk13.task03.task0318;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
How to take over the world
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner scanner = new Scanner(System.in);
String name = scanner.nextline();
int years = scanner.nextline();
System.out.println(name + " will take over the world in " + years + ". Mwa-ha-ha!");
}
}