import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] s = in.readLine().split("/");
    System.out.println("2018/" + s[1] + "/" + s[2]);
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] s = in.readLine().split("/");
    System.out.println("2018/" + s[1] + "/" + s[2]);
  }
} Main public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] s = in.readLine().split("/");
    System.out.println("2018/" + s[1] + "/" + s[2]);
  } main {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] s = in.readLine().split("/");
    System.out.println("2018/" + s[1] + "/" + s[2]);
  } BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String[] s = in.readLine().split("/"); s in.readLine().split("/") in.readLine().split in.readLine() in.readLine in "/" System.out.println("2018/" + s[1] + "/" + s[2]) System.out.println System.out System System.out "2018/" + s[1] + "/" + s[2] "/" "2018/" + s[1] + "/" + s[2] "2018/" s[1] s 1 "/" s[2] s 2 String[] args args public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] s = in.readLine().split("/");
    System.out.println("2018/" + s[1] + "/" + s[2]);
  }
} public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] s = in.readLine().split("/");
    System.out.println("2018/" + s[1] + "/" + s[2]);
  }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] s = in.readLine().split("/");
    System.out.println("2018/" + s[1] + "/" + s[2]);
  }
}