import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
	String s = sc.next();
    StringBuilder day = new StringBuilder(s);
    day.setCharAt(3, '8');
    System.out.println(day);
  }
} 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 day = new StringBuilder(s);
    day.setCharAt(3, '8');
    System.out.println(day);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
	String s = sc.next();
    StringBuilder day = new StringBuilder(s);
    day.setCharAt(3, '8');
    System.out.println(day);
  } main {
    Scanner sc = new Scanner(System.in);
	String s = sc.next();
    StringBuilder day = new StringBuilder(s);
    day.setCharAt(3, '8');
    System.out.println(day);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc StringBuilder day = new StringBuilder(s); day new StringBuilder(s) day.setCharAt(3, '8') day.setCharAt day 3 '8' System.out.println(day) System.out.println System.out System System.out day String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
	String s = sc.next();
    StringBuilder day = new StringBuilder(s);
    day.setCharAt(3, '8');
    System.out.println(day);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
	String s = sc.next();
    StringBuilder day = new StringBuilder(s);
    day.setCharAt(3, '8');
    System.out.println(day);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
	String s = sc.next();
    StringBuilder day = new StringBuilder(s);
    day.setCharAt(3, '8');
    System.out.println(day);
  }
}
