import java.util.Scanner;

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

		SArray[0] = "2018";

		System.out.print(SArray[0] + "/" + SArray[1] + "/" + SArray[2]);
	}

} 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.nextLine();
		String SArray[] = S.split("/");

		SArray[0] = "2018";

		System.out.print(SArray[0] + "/" + SArray[1] + "/" + SArray[2]);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String S = sc.nextLine();
		String SArray[] = S.split("/");

		SArray[0] = "2018";

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

		SArray[0] = "2018";

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

		SArray[0] = "2018";

		System.out.print(SArray[0] + "/" + SArray[1] + "/" + SArray[2]);
	}

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

		SArray[0] = "2018";

		System.out.print(SArray[0] + "/" + SArray[1] + "/" + SArray[2]);
	}

} Main
import java.util.Scanner;

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

		SArray[0] = "2018";

		System.out.print(SArray[0] + "/" + SArray[1] + "/" + SArray[2]);
	}

}