import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] oem = line.split("/");
        oem[0]= "2018";
        System.out.println(oem[0]+"/"+oem[1]+"/"+oem[2]);

    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] oem = line.split("/");
        oem[0]= "2018";
        System.out.println(oem[0]+"/"+oem[1]+"/"+oem[2]);

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] oem = line.split("/");
        oem[0]= "2018";
        System.out.println(oem[0]+"/"+oem[1]+"/"+oem[2]);

    } main {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] oem = line.split("/");
        oem[0]= "2018";
        System.out.println(oem[0]+"/"+oem[1]+"/"+oem[2]);

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] oem = line.split("/"); oem line.split("/") line.split line "/" oem[0]= "2018" oem[0] oem 0 "2018" System.out.println(oem[0]+"/"+oem[1]+"/"+oem[2]) System.out.println System.out System System.out oem[0]+"/"+oem[1]+"/"+oem[2] "/" oem[1] oem[0]+"/"+oem[1]+"/"+oem[2] oem[0] oem 0 "/" oem[1] oem 1 "/" oem[2] oem 2 String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] oem = line.split("/");
        oem[0]= "2018";
        System.out.println(oem[0]+"/"+oem[1]+"/"+oem[2]);

    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] oem = line.split("/");
        oem[0]= "2018";
        System.out.println(oem[0]+"/"+oem[1]+"/"+oem[2]);

    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] oem = line.split("/");
        oem[0]= "2018";
        System.out.println(oem[0]+"/"+oem[1]+"/"+oem[2]);

    }
}