import java.io.*;
class Main
{
  public static void main(String[] args) throws Exception
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String input = br.readLine();
    String[] param = input.split("/");
    
    int n1 = Integer.parseInt(param[0]);
    int n2 = Integer.parseInt(param[1]);
    int n3 = Integer.parseInt(param[2]);
    
    if(n1!=2018){
      n1 = 2018;
    }
    
    
    if(n3>=10){
    System.out.println("2018/01/"+n3);
  }else{
  	System.out.println("2018/01/0" +n3);
  }
  }
}
    
     import java.io.*; io.* java class Main
{
  public static void main(String[] args) throws Exception
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String input = br.readLine();
    String[] param = input.split("/");
    
    int n1 = Integer.parseInt(param[0]);
    int n2 = Integer.parseInt(param[1]);
    int n3 = Integer.parseInt(param[2]);
    
    if(n1!=2018){
      n1 = 2018;
    }
    
    
    if(n3>=10){
    System.out.println("2018/01/"+n3);
  }else{
  	System.out.println("2018/01/0" +n3);
  }
  }
} Main public static void main(String[] args) throws Exception
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String input = br.readLine();
    String[] param = input.split("/");
    
    int n1 = Integer.parseInt(param[0]);
    int n2 = Integer.parseInt(param[1]);
    int n3 = Integer.parseInt(param[2]);
    
    if(n1!=2018){
      n1 = 2018;
    }
    
    
    if(n3>=10){
    System.out.println("2018/01/"+n3);
  }else{
  	System.out.println("2018/01/0" +n3);
  }
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String input = br.readLine();
    String[] param = input.split("/");
    
    int n1 = Integer.parseInt(param[0]);
    int n2 = Integer.parseInt(param[1]);
    int n3 = Integer.parseInt(param[2]);
    
    if(n1!=2018){
      n1 = 2018;
    }
    
    
    if(n3>=10){
    System.out.println("2018/01/"+n3);
  }else{
  	System.out.println("2018/01/0" +n3);
  }
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String input = br.readLine(); input br.readLine() br.readLine br String[] param = input.split("/"); param input.split("/") input.split input "/" int n1 = Integer.parseInt(param[0]); n1 Integer.parseInt(param[0]) Integer.parseInt Integer param[0] param 0 int n2 = Integer.parseInt(param[1]); n2 Integer.parseInt(param[1]) Integer.parseInt Integer param[1] param 1 int n3 = Integer.parseInt(param[2]); n3 Integer.parseInt(param[2]) Integer.parseInt Integer param[2] param 2 if(n1!=2018){
      n1 = 2018;
    } n1!=2018 n1 2018 {
      n1 = 2018;
    } n1 = 2018 n1 2018 if(n3>=10){
    System.out.println("2018/01/"+n3);
  }else{
  	System.out.println("2018/01/0" +n3);
  } n3>=10 n3 10 {
    System.out.println("2018/01/"+n3);
  } System.out.println("2018/01/"+n3) System.out.println System.out System System.out "2018/01/"+n3 "2018/01/" n3 {
  	System.out.println("2018/01/0" +n3);
  } System.out.println("2018/01/0" +n3) System.out.println System.out System System.out "2018/01/0" +n3 "2018/01/0" n3 String[] args args
import java.io.*;
class Main
{
  public static void main(String[] args) throws Exception
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String input = br.readLine();
    String[] param = input.split("/");
    
    int n1 = Integer.parseInt(param[0]);
    int n2 = Integer.parseInt(param[1]);
    int n3 = Integer.parseInt(param[2]);
    
    if(n1!=2018){
      n1 = 2018;
    }
    
    
    if(n3>=10){
    System.out.println("2018/01/"+n3);
  }else{
  	System.out.println("2018/01/0" +n3);
  }
  }
}
    
    