import java.io.*; public class Solution { public static void main(String[] args) throws IOException { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter your name"); String name = br.readLine(); System.out.println("enter no. of year for ur target"); String number = br.readLine(); int nNumber = Integer.parseInt(number); System.out.println(name + " will take over the world in " + nNumber + " years. Mwa-ha-ha!"); } }