import java.io.PrintWriter;
import java.lang.reflect.Array;
import java.util.*;

public class Main {

    Scanner sc = new Scanner(System.in);

    PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        new Main().run();
    }

    void run() {


        String s = sc.next();
        char[] arr = s.toCharArray();

        arr[3] = '8';

        StringBuilder sb = new StringBuilder();
        for (int i=0; i<s.length(); i++) sb.append(arr[i]);

        out.print(sb.toString());
        out.flush();



    }

} import java.io.PrintWriter; PrintWriter java.io import java.lang.reflect.Array; Array java.lang.reflect import java.util.*; util.* java public class Main {

    Scanner sc = new Scanner(System.in);

    PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        new Main().run();
    }

    void run() {


        String s = sc.next();
        char[] arr = s.toCharArray();

        arr[3] = '8';

        StringBuilder sb = new StringBuilder();
        for (int i=0; i<s.length(); i++) sb.append(arr[i]);

        out.print(sb.toString());
        out.flush();



    }

} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) public static void main(String[] args) {
        new Main().run();
    } main {
        new Main().run();
    } new Main().run() new Main().run new Main() String[] args args void run() {


        String s = sc.next();
        char[] arr = s.toCharArray();

        arr[3] = '8';

        StringBuilder sb = new StringBuilder();
        for (int i=0; i<s.length(); i++) sb.append(arr[i]);

        out.print(sb.toString());
        out.flush();



    } run {


        String s = sc.next();
        char[] arr = s.toCharArray();

        arr[3] = '8';

        StringBuilder sb = new StringBuilder();
        for (int i=0; i<s.length(); i++) sb.append(arr[i]);

        out.print(sb.toString());
        out.flush();



    } String s = sc.next(); s sc.next() sc.next sc char[] arr = s.toCharArray(); arr s.toCharArray() s.toCharArray s arr[3] = '8' arr[3] arr 3 '8' StringBuilder sb = new StringBuilder(); sb new StringBuilder() for (int i=0; i<s.length(); i++) sb.append(arr[i]); int i=0; int i=0; i 0 i<s.length() i s.length() s.length s i++ i++ i sb.append(arr[i]); sb.append(arr[i]) sb.append sb arr[i] arr i out.print(sb.toString()) out.print out sb.toString() sb.toString sb out.flush() out.flush out public class Main {

    Scanner sc = new Scanner(System.in);

    PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        new Main().run();
    }

    void run() {


        String s = sc.next();
        char[] arr = s.toCharArray();

        arr[3] = '8';

        StringBuilder sb = new StringBuilder();
        for (int i=0; i<s.length(); i++) sb.append(arr[i]);

        out.print(sb.toString());
        out.flush();



    }

} public class Main {

    Scanner sc = new Scanner(System.in);

    PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        new Main().run();
    }

    void run() {


        String s = sc.next();
        char[] arr = s.toCharArray();

        arr[3] = '8';

        StringBuilder sb = new StringBuilder();
        for (int i=0; i<s.length(); i++) sb.append(arr[i]);

        out.print(sb.toString());
        out.flush();



    }

} Main
import java.io.PrintWriter;
import java.lang.reflect.Array;
import java.util.*;

public class Main {

    Scanner sc = new Scanner(System.in);

    PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) {
        new Main().run();
    }

    void run() {


        String s = sc.next();
        char[] arr = s.toCharArray();

        arr[3] = '8';

        StringBuilder sb = new StringBuilder();
        for (int i=0; i<s.length(); i++) sb.append(arr[i]);

        out.print(sb.toString());
        out.flush();



    }

}
