import java.util.Scanner;

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

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