import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split("/");
            StringBuffer sb = new StringBuffer();
            sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]);
            
            System.out.println(sb);
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split("/");
            StringBuffer sb = new StringBuffer();
            sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]);
            
            System.out.println(sb);
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} Main public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split("/");
            StringBuffer sb = new StringBuffer();
            sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]);
            
            System.out.println(sb);
            
        }catch(Exception e){
            System.out.println(e);
        }
    } main {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split("/");
            StringBuffer sb = new StringBuffer();
            sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]);
            
            System.out.println(sb);
            
        }catch(Exception e){
            System.out.println(e);
        }
    } try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split("/");
            StringBuffer sb = new StringBuffer();
            sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]);
            
            System.out.println(sb);
            
        }catch(Exception e){
            System.out.println(e);
        } catch(Exception e){
            System.out.println(e);
        } Exception e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split("/");
            StringBuffer sb = new StringBuffer();
            sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]);
            
            System.out.println(sb);
            
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strSplit[] = br.readLine().split("/"); strSplit br.readLine().split("/") br.readLine().split br.readLine() br.readLine br "/" StringBuffer sb = new StringBuffer(); sb new StringBuffer() sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]) sb.append("2018/").append(strSplit[1]).append("/").append sb.append("2018/").append(strSplit[1]).append("/") sb.append("2018/").append(strSplit[1]).append sb.append("2018/").append(strSplit[1]) sb.append("2018/").append sb.append("2018/") sb.append sb "2018/" strSplit[1] strSplit 1 "/" strSplit[2] strSplit 2 System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split("/");
            StringBuffer sb = new StringBuffer();
            sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]);
            
            System.out.println(sb);
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split("/");
            StringBuffer sb = new StringBuffer();
            sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]);
            
            System.out.println(sb);
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} Main
import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split("/");
            StringBuffer sb = new StringBuffer();
            sb.append("2018/").append(strSplit[1]).append("/").append(strSplit[2]);
            
            System.out.println(sb);
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
}