import java.util.Scanner;

class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        System.out.println( a.replace("2017/01/", "2018/01/"));
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        System.out.println( a.replace("2017/01/", "2018/01/"));
    }
} Main public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        System.out.println( a.replace("2017/01/", "2018/01/"));
    } main {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        System.out.println( a.replace("2017/01/", "2018/01/"));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a = sc.next(); a sc.next() sc.next sc System.out.println( a.replace("2017/01/", "2018/01/")) System.out.println System.out System System.out a.replace("2017/01/", "2018/01/") a.replace a "2017/01/" "2018/01/" String args[] args
import java.util.Scanner;

class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        System.out.println( a.replace("2017/01/", "2018/01/"));
    }
}
