import java.util.Scanner;

public class Main {

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

		char[] cs = sc.next().toCharArray();
		cs[3] = '8';

		for (char c : cs) {
			System.out.print(c);
		}
		System.out.println();

		sc.close();
	}

}

 import java.util.Scanner; Scanner java.util public class Main {

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

		char[] cs = sc.next().toCharArray();
		cs[3] = '8';

		for (char c : cs) {
			System.out.print(c);
		}
		System.out.println();

		sc.close();
	}

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

		char[] cs = sc.next().toCharArray();
		cs[3] = '8';

		for (char c : cs) {
			System.out.print(c);
		}
		System.out.println();

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

		char[] cs = sc.next().toCharArray();
		cs[3] = '8';

		for (char c : cs) {
			System.out.print(c);
		}
		System.out.println();

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] cs = sc.next().toCharArray(); cs sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc cs[3] = '8' cs[3] cs 3 '8' for (char c : cs) {
			System.out.print(c);
		} char c cs {
			System.out.print(c);
		} {
			System.out.print(c);
		} System.out.print(c) System.out.print System.out System System.out c System.out.println() System.out.println System.out System System.out sc.close() sc.close sc String[] args args public class Main {

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

		char[] cs = sc.next().toCharArray();
		cs[3] = '8';

		for (char c : cs) {
			System.out.print(c);
		}
		System.out.println();

		sc.close();
	}

} public class Main {

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

		char[] cs = sc.next().toCharArray();
		cs[3] = '8';

		for (char c : cs) {
			System.out.print(c);
		}
		System.out.println();

		sc.close();
	}

} Main
import java.util.Scanner;

public class Main {

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

		char[] cs = sc.next().toCharArray();
		cs[3] = '8';

		for (char c : cs) {
			System.out.print(c);
		}
		System.out.println();

		sc.close();
	}

}


