import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here InputStream inputstream = System.in; Reader inputStreamReader = new InputStreamReader (inputstream); BufferedReader bufferedReader = new BufferedReader(inputStreamReader); System.out.println("Enter Name: "); String name= bufferedReader.readLine(); System.out.println("Enter Number1: "); String number1= bufferedReader.readLine(); System.out.println("Enter Number2: "); String number2= bufferedReader.readLine(); System.out.println(name +" will receive "+number1+" in "+number2+"\n years."); } }