import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.io.PrintWriter;

public class Main {
    public static void main(String[] args) throws IOException{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter writer = new PrintWriter(System.out);
        
        StringBuilder ans = new StringBuilder(br.readLine());
        
        ans.setCharAt(3, '8');
        
        writer.println(ans.toString());
        
        br.close();
        writer.close();
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io import java.io.PrintWriter; PrintWriter java.io public class Main {
    public static void main(String[] args) throws IOException{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter writer = new PrintWriter(System.out);
        
        StringBuilder ans = new StringBuilder(br.readLine());
        
        ans.setCharAt(3, '8');
        
        writer.println(ans.toString());
        
        br.close();
        writer.close();
    }
} Main public static void main(String[] args) throws IOException{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter writer = new PrintWriter(System.out);
        
        StringBuilder ans = new StringBuilder(br.readLine());
        
        ans.setCharAt(3, '8');
        
        writer.println(ans.toString());
        
        br.close();
        writer.close();
    } main {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter writer = new PrintWriter(System.out);
        
        StringBuilder ans = new StringBuilder(br.readLine());
        
        ans.setCharAt(3, '8');
        
        writer.println(ans.toString());
        
        br.close();
        writer.close();
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) PrintWriter writer = new PrintWriter(System.out); writer new PrintWriter(System.out) StringBuilder ans = new StringBuilder(br.readLine()); ans new StringBuilder(br.readLine()) ans.setCharAt(3, '8') ans.setCharAt ans 3 '8' writer.println(ans.toString()) writer.println writer ans.toString() ans.toString ans br.close() br.close br writer.close() writer.close writer String[] args args public class Main {
    public static void main(String[] args) throws IOException{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter writer = new PrintWriter(System.out);
        
        StringBuilder ans = new StringBuilder(br.readLine());
        
        ans.setCharAt(3, '8');
        
        writer.println(ans.toString());
        
        br.close();
        writer.close();
    }
} public class Main {
    public static void main(String[] args) throws IOException{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter writer = new PrintWriter(System.out);
        
        StringBuilder ans = new StringBuilder(br.readLine());
        
        ans.setCharAt(3, '8');
        
        writer.println(ans.toString());
        
        br.close();
        writer.close();
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.io.PrintWriter;

public class Main {
    public static void main(String[] args) throws IOException{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter writer = new PrintWriter(System.out);
        
        StringBuilder ans = new StringBuilder(br.readLine());
        
        ans.setCharAt(3, '8');
        
        writer.println(ans.toString());
        
        br.close();
        writer.close();
    }
}