import java.util.*;

public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String S = sc.next();
    StringBuilder SS = new StringBuilder(S);
    SS = SS.replace(3,4,"8");
    System.out.println(SS);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String S = sc.next();
    StringBuilder SS = new StringBuilder(S);
    SS = SS.replace(3,4,"8");
    System.out.println(SS);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String S = sc.next();
    StringBuilder SS = new StringBuilder(S);
    SS = SS.replace(3,4,"8");
    System.out.println(SS);
  } main {
    Scanner sc = new Scanner(System.in);
    String S = sc.next();
    StringBuilder SS = new StringBuilder(S);
    SS = SS.replace(3,4,"8");
    System.out.println(SS);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc StringBuilder SS = new StringBuilder(S); SS new StringBuilder(S) SS = SS.replace(3,4,"8") SS SS.replace(3,4,"8") SS.replace SS 3 4 "8" System.out.println(SS) System.out.println System.out System System.out SS String[] args args public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String S = sc.next();
    StringBuilder SS = new StringBuilder(S);
    SS = SS.replace(3,4,"8");
    System.out.println(SS);
  }
} public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String S = sc.next();
    StringBuilder SS = new StringBuilder(S);
    SS = SS.replace(3,4,"8");
    System.out.println(SS);
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String S = sc.next();
    StringBuilder SS = new StringBuilder(S);
    SS = SS.replace(3,4,"8");
    System.out.println(SS);
  }
}