import java.util.*;
 
public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    String S = sc.nextLine();
    System.out.println("2018"+S.substring(4,10));
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    String S = sc.nextLine();
    System.out.println("2018"+S.substring(4,10));
  }
} Main public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    String S = sc.nextLine();
    System.out.println("2018"+S.substring(4,10));
  } main {
    Scanner sc = new Scanner(System.in);
    String S = sc.nextLine();
    System.out.println("2018"+S.substring(4,10));
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.nextLine(); S sc.nextLine() sc.nextLine sc System.out.println("2018"+S.substring(4,10)) System.out.println System.out System System.out "2018"+S.substring(4,10) "2018" S.substring(4,10) S.substring S 4 10 String[]args args public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    String S = sc.nextLine();
    System.out.println("2018"+S.substring(4,10));
  }
} public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    String S = sc.nextLine();
    System.out.println("2018"+S.substring(4,10));
  }
} Main
import java.util.*;
 
public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    String S = sc.nextLine();
    System.out.println("2018"+S.substring(4,10));
  }
}