import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String data[] = sc.nextLine().split("/",0);

		data[0] = "2018";

		System.out.println(data[0] + "/" + data[1] + "/" + data[2]);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String data[] = sc.nextLine().split("/",0);

		data[0] = "2018";

		System.out.println(data[0] + "/" + data[1] + "/" + data[2]);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String data[] = sc.nextLine().split("/",0);

		data[0] = "2018";

		System.out.println(data[0] + "/" + data[1] + "/" + data[2]);
	} main {
		Scanner sc = new Scanner(System.in);
		String data[] = sc.nextLine().split("/",0);

		data[0] = "2018";

		System.out.println(data[0] + "/" + data[1] + "/" + data[2]);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String data[] = sc.nextLine().split("/",0); data sc.nextLine().split("/",0) sc.nextLine().split sc.nextLine() sc.nextLine sc "/" 0 data[0] = "2018" data[0] data 0 "2018" System.out.println(data[0] + "/" + data[1] + "/" + data[2]) System.out.println System.out System System.out data[0] + "/" + data[1] + "/" + data[2] "/" data[1] data[0] + "/" + data[1] + "/" + data[2] data[0] data 0 "/" data[1] data 1 "/" data[2] data 2 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String data[] = sc.nextLine().split("/",0);

		data[0] = "2018";

		System.out.println(data[0] + "/" + data[1] + "/" + data[2]);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String data[] = sc.nextLine().split("/",0);

		data[0] = "2018";

		System.out.println(data[0] + "/" + data[1] + "/" + data[2]);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String data[] = sc.nextLine().split("/",0);

		data[0] = "2018";

		System.out.println(data[0] + "/" + data[1] + "/" + data[2]);
	}
}
