import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String s = input.nextLine();
		String[] array = s.split("/");
		s = "2018/"+array[1]+"/"+array[2];
		System.out.print(s);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String s = input.nextLine();
		String[] array = s.split("/");
		s = "2018/"+array[1]+"/"+array[2];
		System.out.print(s);
	}
} Main public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String s = input.nextLine();
		String[] array = s.split("/");
		s = "2018/"+array[1]+"/"+array[2];
		System.out.print(s);
	} main {
		Scanner input = new Scanner(System.in);
		String s = input.nextLine();
		String[] array = s.split("/");
		s = "2018/"+array[1]+"/"+array[2];
		System.out.print(s);
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) String s = input.nextLine(); s input.nextLine() input.nextLine input String[] array = s.split("/"); array s.split("/") s.split s "/" s = "2018/"+array[1]+"/"+array[2] s "2018/"+array[1]+"/"+array[2] "/" "2018/"+array[1]+"/"+array[2] "2018/" array[1] array 1 "/" array[2] array 2 System.out.print(s) System.out.print System.out System System.out s String[] args args public class Main {
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String s = input.nextLine();
		String[] array = s.split("/");
		s = "2018/"+array[1]+"/"+array[2];
		System.out.print(s);
	}
} public class Main {
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String s = input.nextLine();
		String[] array = s.split("/");
		s = "2018/"+array[1]+"/"+array[2];
		System.out.print(s);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String s = input.nextLine();
		String[] array = s.split("/");
		s = "2018/"+array[1]+"/"+array[2];
		System.out.print(s);
	}
}
