import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
    private static final int MAX = 500+24;

    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        while(in.hasNext()) {
            String str=in.nextLine();
            String answer=str.substring(0,3)+"8"+str.substring(4);
            out.println(answer);
            out.flush();
        }
        in.close();
        out.close();
    }

} import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
    private static final int MAX = 500+24;

    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        while(in.hasNext()) {
            String str=in.nextLine();
            String answer=str.substring(0,3)+"8"+str.substring(4);
            out.println(answer);
            out.flush();
        }
        in.close();
        out.close();
    }

} Main private static final int MAX = 500+24; MAX 500+24 500 24 public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        while(in.hasNext()) {
            String str=in.nextLine();
            String answer=str.substring(0,3)+"8"+str.substring(4);
            out.println(answer);
            out.flush();
        }
        in.close();
        out.close();
    } main {
        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        while(in.hasNext()) {
            String str=in.nextLine();
            String answer=str.substring(0,3)+"8"+str.substring(4);
            out.println(answer);
            out.flush();
        }
        in.close();
        out.close();
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) while(in.hasNext()) {
            String str=in.nextLine();
            String answer=str.substring(0,3)+"8"+str.substring(4);
            out.println(answer);
            out.flush();
        } in.hasNext() in.hasNext in {
            String str=in.nextLine();
            String answer=str.substring(0,3)+"8"+str.substring(4);
            out.println(answer);
            out.flush();
        } String str=in.nextLine(); str in.nextLine() in.nextLine in String answer=str.substring(0,3)+"8"+str.substring(4); answer str.substring(0,3)+"8"+str.substring(4) str.substring(0,3)+"8"+str.substring(4) str.substring(0,3) str.substring str 0 3 "8" str.substring(4) str.substring str 4 out.println(answer) out.println out answer out.flush() out.flush out in.close() in.close in out.close() out.close out String[] args args public class Main {
    private static final int MAX = 500+24;

    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        while(in.hasNext()) {
            String str=in.nextLine();
            String answer=str.substring(0,3)+"8"+str.substring(4);
            out.println(answer);
            out.flush();
        }
        in.close();
        out.close();
    }

} public class Main {
    private static final int MAX = 500+24;

    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        while(in.hasNext()) {
            String str=in.nextLine();
            String answer=str.substring(0,3)+"8"+str.substring(4);
            out.println(answer);
            out.flush();
        }
        in.close();
        out.close();
    }

} Main
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
    private static final int MAX = 500+24;

    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        while(in.hasNext()) {
            String str=in.nextLine();
            String answer=str.substring(0,3)+"8"+str.substring(4);
            out.println(answer);
            out.flush();
        }
        in.close();
        out.close();
    }

}
