// package app;

import java.util.Arrays;
import java.util.Scanner;
import java.util.stream.Stream;

public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);

        final String S = sc.next();
        // final int A = sc.nextInt();
        // final int A = sc.nextInt();
        // final int B = sc.nextInt();
        // final int C = sc.nextInt();

        // System.out.println();
        StringBuffer sb = new StringBuffer(S);
        sb.setCharAt(3, '8');
        System.out.println(sb.toString());

        // System.out.println(A <= X && A + B >= X ? "YES" : "NO");

    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util import java.util.stream.Stream; Stream java.util.stream public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);

        final String S = sc.next();
        // final int A = sc.nextInt();
        // final int A = sc.nextInt();
        // final int B = sc.nextInt();
        // final int C = sc.nextInt();

        // System.out.println();
        StringBuffer sb = new StringBuffer(S);
        sb.setCharAt(3, '8');
        System.out.println(sb.toString());

        // System.out.println(A <= X && A + B >= X ? "YES" : "NO");

    }
} Main public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);

        final String S = sc.next();
        // final int A = sc.nextInt();
        // final int A = sc.nextInt();
        // final int B = sc.nextInt();
        // final int C = sc.nextInt();

        // System.out.println();
        StringBuffer sb = new StringBuffer(S);
        sb.setCharAt(3, '8');
        System.out.println(sb.toString());

        // System.out.println(A <= X && A + B >= X ? "YES" : "NO");

    } main {
        final Scanner sc = new Scanner(System.in);

        final String S = sc.next();
        // final int A = sc.nextInt();
        // final int A = sc.nextInt();
        // final int B = sc.nextInt();
        // final int C = sc.nextInt();

        // System.out.println();
        StringBuffer sb = new StringBuffer(S);
        sb.setCharAt(3, '8');
        System.out.println(sb.toString());

        // System.out.println(A <= X && A + B >= X ? "YES" : "NO");

    } final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final String S = sc.next(); S sc.next() sc.next sc StringBuffer sb = new StringBuffer(S); sb new StringBuffer(S) sb.setCharAt(3, '8') sb.setCharAt sb 3 '8' System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb final String[] args args public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);

        final String S = sc.next();
        // final int A = sc.nextInt();
        // final int A = sc.nextInt();
        // final int B = sc.nextInt();
        // final int C = sc.nextInt();

        // System.out.println();
        StringBuffer sb = new StringBuffer(S);
        sb.setCharAt(3, '8');
        System.out.println(sb.toString());

        // System.out.println(A <= X && A + B >= X ? "YES" : "NO");

    }
} public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);

        final String S = sc.next();
        // final int A = sc.nextInt();
        // final int A = sc.nextInt();
        // final int B = sc.nextInt();
        // final int C = sc.nextInt();

        // System.out.println();
        StringBuffer sb = new StringBuffer(S);
        sb.setCharAt(3, '8');
        System.out.println(sb.toString());

        // System.out.println(A <= X && A + B >= X ? "YES" : "NO");

    }
} Main
// package app;

import java.util.Arrays;
import java.util.Scanner;
import java.util.stream.Stream;

public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);

        final String S = sc.next();
        // final int A = sc.nextInt();
        // final int A = sc.nextInt();
        // final int B = sc.nextInt();
        // final int C = sc.nextInt();

        // System.out.println();
        StringBuffer sb = new StringBuffer(S);
        sb.setCharAt(3, '8');
        System.out.println(sb.toString());

        // System.out.println(A <= X && A + B >= X ? "YES" : "NO");

    }
}