import java .util.*;

public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    String day = sc.next();
    String day_up = "2018/";
    
    for (int i = 5; i < 10; i++){
      day_up = day_up + day.substring(i, i+1);
    }
    System.out.println(day_up);
    
  }
} import java .util.*; util.* java public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    String day = sc.next();
    String day_up = "2018/";
    
    for (int i = 5; i < 10; i++){
      day_up = day_up + day.substring(i, i+1);
    }
    System.out.println(day_up);
    
  }
} Main public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    String day = sc.next();
    String day_up = "2018/";
    
    for (int i = 5; i < 10; i++){
      day_up = day_up + day.substring(i, i+1);
    }
    System.out.println(day_up);
    
  } main {
    Scanner sc = new Scanner(System.in);
    String day = sc.next();
    String day_up = "2018/";
    
    for (int i = 5; i < 10; i++){
      day_up = day_up + day.substring(i, i+1);
    }
    System.out.println(day_up);
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String day = sc.next(); day sc.next() sc.next sc String day_up = "2018/"; day_up "2018/" for (int i = 5; i < 10; i++){
      day_up = day_up + day.substring(i, i+1);
    } int i = 5; int i = 5; i 5 i < 10 i 10 i++ i++ i {
      day_up = day_up + day.substring(i, i+1);
    } {
      day_up = day_up + day.substring(i, i+1);
    } day_up = day_up + day.substring(i, i+1) day_up day_up + day.substring(i, i+1) day_up day.substring(i, i+1) day.substring day i i+1 i 1 System.out.println(day_up) System.out.println System.out System System.out day_up String args[] args public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    String day = sc.next();
    String day_up = "2018/";
    
    for (int i = 5; i < 10; i++){
      day_up = day_up + day.substring(i, i+1);
    }
    System.out.println(day_up);
    
  }
} public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    String day = sc.next();
    String day_up = "2018/";
    
    for (int i = 5; i < 10; i++){
      day_up = day_up + day.substring(i, i+1);
    }
    System.out.println(day_up);
    
  }
} Main
import java .util.*;

public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    String day = sc.next();
    String day_up = "2018/";
    
    for (int i = 5; i < 10; i++){
      day_up = day_up + day.substring(i, i+1);
    }
    System.out.println(day_up);
    
  }
}