import java.util.*;

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

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