import java.util.Scanner;

/**
 * Created by on 2018/1/8.
 */
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str=in.nextLine();
        String substring = str.substring(4);
        System.out.println("2018"+substring);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str=in.nextLine();
        String substring = str.substring(4);
        System.out.println("2018"+substring);
    }
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str=in.nextLine();
        String substring = str.substring(4);
        System.out.println("2018"+substring);
    } main {
        Scanner in = new Scanner(System.in);
        String str=in.nextLine();
        String substring = str.substring(4);
        System.out.println("2018"+substring);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) String str=in.nextLine(); str in.nextLine() in.nextLine in String substring = str.substring(4); substring str.substring(4) str.substring str 4 System.out.println("2018"+substring) System.out.println System.out System System.out "2018"+substring "2018" substring String[] args args public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str=in.nextLine();
        String substring = str.substring(4);
        System.out.println("2018"+substring);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str=in.nextLine();
        String substring = str.substring(4);
        System.out.println("2018"+substring);
    }
} Main
import java.util.Scanner;

/**
 * Created by on 2018/1/8.
 */
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str=in.nextLine();
        String substring = str.substring(4);
        System.out.println("2018"+substring);
    }
}