import java.io.*;
import java.util.*;

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

public class Main {
  public static void main (String[] args) {
    Scanner sc = new Scanner(System.in);
    String inp = sc.nextLine();
    String orig = inp.substring(4);
    System.out.println("2018" + orig);
  }
}
