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


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


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


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


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


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


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


    }
}
