import java.util.*;

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

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