import java.io.*;

public class HowOldAreYou {
public static void main(String[] args) {
System.out.Println("あなたの名前を入力してください。");
BufferedReader reader = new BufferReader(new InputStreamReader(System.in.in),1);
try {
String line = reader.readLine();
System.out.prinfln(line + "さん、こんにちわ。");
System.out.println("年齢を入力してください。";
        line = reader.readline();
int age = Integer.parseInt(line);
System.out.println("いま" + age + "歳とすると、10年後は"+(age + 10) + "歳ですね。");
} catch (IOException e) {
System.out.println(e);
} catch (NunberFormatException e) {
System.out.println("年齢が正しくありません。");
     }
}
}