import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner sc = new Scanner(System.in);
		sb.append(sc.next());
		sc.close();
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

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

	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner sc = new Scanner(System.in);
		sb.append(sc.next());
		sc.close();
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

} Main public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner sc = new Scanner(System.in);
		sb.append(sc.next());
		sc.close();
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	} main {
		StringBuilder sb = new StringBuilder();
		Scanner sc = new Scanner(System.in);
		sb.append(sc.next());
		sc.close();
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	} StringBuilder sb = new StringBuilder(); sb new StringBuilder() Scanner sc = new Scanner(System.in); sc new Scanner(System.in) sb.append(sc.next()) sb.append sb sc.next() sc.next sc sc.close() sc.close sc 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 String[] args args public class Main {

	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner sc = new Scanner(System.in);
		sb.append(sc.next());
		sc.close();
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

} public class Main {

	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner sc = new Scanner(System.in);
		sb.append(sc.next());
		sc.close();
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner sc = new Scanner(System.in);
		sb.append(sc.next());
		sc.close();
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

}
