package com.javarush.task.task03.task0318;


import java.io.BufferedReader;

import java.io.InputStreamReader;
import java.io.*;

public class Solution {
    public static void main(String[] args) throws Exception {
        //напишите тут ваш код
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        String name = reader.readLine();
        String syear = reader.readLine();
        int year = Integer.parseInt(syear);

        System.out.println(name + " захватит мир через " + year + " лет. Му-ха-ха!");
    }
}


ОШИБКА В ВЫВОДЕ:
java.lang.NumberFormatException: For input string: "Вася"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Integer.parseInt(Integer.java:615)
	at com.javarush.task.task03.task0318.Solution.main(Solution.java:16)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)