import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String ns = sc.next();
    String[] s = ns.split("");
    s[3] = "8";
    String answer = "";
    for (int i = 0; i < s.length; i++) {
      answer += s[i];
    }
    System.out.println(answer);
  }
} import java.util.*; util.* java class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String ns = sc.next();
    String[] s = ns.split("");
    s[3] = "8";
    String answer = "";
    for (int i = 0; i < s.length; i++) {
      answer += s[i];
    }
    System.out.println(answer);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String ns = sc.next();
    String[] s = ns.split("");
    s[3] = "8";
    String answer = "";
    for (int i = 0; i < s.length; i++) {
      answer += s[i];
    }
    System.out.println(answer);
  } main {
    Scanner sc = new Scanner(System.in);
    String ns = sc.next();
    String[] s = ns.split("");
    s[3] = "8";
    String answer = "";
    for (int i = 0; i < s.length; i++) {
      answer += s[i];
    }
    System.out.println(answer);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String ns = sc.next(); ns sc.next() sc.next sc String[] s = ns.split(""); s ns.split("") ns.split ns "" s[3] = "8" s[3] s 3 "8" String answer = ""; answer "" for (int i = 0; i < s.length; i++) {
      answer += s[i];
    } int i = 0; int i = 0; i 0 i < s.length i s.length s s.length i++ i++ i {
      answer += s[i];
    } {
      answer += s[i];
    } answer += s[i] answer s[i] s i System.out.println(answer) System.out.println System.out System System.out answer String[] args args
import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String ns = sc.next();
    String[] s = ns.split("");
    s[3] = "8";
    String answer = "";
    for (int i = 0; i < s.length; i++) {
      answer += s[i];
    }
    System.out.println(answer);
  }
}