import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        char[] ans = new char[10];
        for (int i = 0; i < 10; i++) {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        }
        System.out.println();
    }

} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        char[] ans = new char[10];
        for (int i = 0; i < 10; i++) {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        }
        System.out.println();
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        char[] ans = new char[10];
        for (int i = 0; i < 10; i++) {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        }
        System.out.println();
    } main {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        char[] ans = new char[10];
        for (int i = 0; i < 10; i++) {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        }
        System.out.println();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String str = sc.next(); str sc.next() sc.next sc char[] ans = new char[10]; ans new char[10] 10 for (int i = 0; i < 10; i++) {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        } int i = 0; int i = 0; i 0 i < 10 i 10 i++ i++ i {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        } {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        } ans[i] = str.charAt(i) ans[i] ans i str.charAt(i) str.charAt str i if (i == 3) {
                ans[i] = '8';
            } i == 3 i 3 {
                ans[i] = '8';
            } ans[i] = '8' ans[i] ans i '8' System.out.print(ans[i]) System.out.print System.out System System.out ans[i] ans i System.out.println() System.out.println System.out System System.out String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        char[] ans = new char[10];
        for (int i = 0; i < 10; i++) {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        }
        System.out.println();
    }

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        char[] ans = new char[10];
        for (int i = 0; i < 10; i++) {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        }
        System.out.println();
    }

} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        char[] ans = new char[10];
        for (int i = 0; i < 10; i++) {
            ans[i] = str.charAt(i);
            if (i == 3) {
                ans[i] = '8';
            }
            System.out.print(ans[i]);
        }
        System.out.println();
    }

}
