import java.util.*;
public class Main {
  public static void main(String[] args){

    Scanner sc = new Scanner(System.in);
    String S = sc.next();

    System.out.println(S.replace("2017/01", "2018/01"));

  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args){

    Scanner sc = new Scanner(System.in);
    String S = sc.next();

    System.out.println(S.replace("2017/01", "2018/01"));

  }
} Main public static void main(String[] args){

    Scanner sc = new Scanner(System.in);
    String S = sc.next();

    System.out.println(S.replace("2017/01", "2018/01"));

  } main {

    Scanner sc = new Scanner(System.in);
    String S = sc.next();

    System.out.println(S.replace("2017/01", "2018/01"));

  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc System.out.println(S.replace("2017/01", "2018/01")) System.out.println System.out System System.out S.replace("2017/01", "2018/01") S.replace S "2017/01" "2018/01" String[] args args public class Main {
  public static void main(String[] args){

    Scanner sc = new Scanner(System.in);
    String S = sc.next();

    System.out.println(S.replace("2017/01", "2018/01"));

  }
} public class Main {
  public static void main(String[] args){

    Scanner sc = new Scanner(System.in);
    String S = sc.next();

    System.out.println(S.replace("2017/01", "2018/01"));

  }
} Main
import java.util.*;
public class Main {
  public static void main(String[] args){

    Scanner sc = new Scanner(System.in);
    String S = sc.next();

    System.out.println(S.replace("2017/01", "2018/01"));

  }
}