package com.codegym.task.task03.task0319;
/*
Predictions
*/
import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
String name = scan.nextLine();
int number1 = scan.nexInt();
int number2 = scan.nextInt();
System.out.println(name + " will receive " + number1 + " in " + number2 " years.");
scan.close();
}
}
package com.codegym.task.task03.task0319;
/*
Predictions
*/
import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
String name = scan.nextLine();
int number1 = scan.nexInt();
int number2 = scan.nextInt();
System.out.println(name + " will receive " + number1 + " in " + number2 " years.");
scan.close();
}
}