import java.util.Scanner;

public class Main {

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

		System.out.println(S.replaceFirst(S.substring(3, 4), "8"));
	}
} import java.util.Scanner; Scanner java.util public class Main {

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

		System.out.println(S.replaceFirst(S.substring(3, 4), "8"));
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		sc.close();

		System.out.println(S.replaceFirst(S.substring(3, 4), "8"));
	} main {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		sc.close();

		System.out.println(S.replaceFirst(S.substring(3, 4), "8"));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc sc.close() sc.close sc System.out.println(S.replaceFirst(S.substring(3, 4), "8")) System.out.println System.out System System.out S.replaceFirst(S.substring(3, 4), "8") S.replaceFirst S S.substring(3, 4) S.substring S 3 4 "8" String[] args args public class Main {

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

		System.out.println(S.replaceFirst(S.substring(3, 4), "8"));
	}
} public class Main {

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

		System.out.println(S.replaceFirst(S.substring(3, 4), "8"));
	}
} Main
import java.util.Scanner;

public class Main {

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

		System.out.println(S.replaceFirst(S.substring(3, 4), "8"));
	}
}