import java.util.*;
import java.io.*;

class Main {
  char[] S;
  public static void main(String[] args) {
    Main m = new Main();
    m.input();
    m.solve();
    m.out();
  }

  public void input() {
    Scanner sc = new Scanner(System.in);
    S = sc.next().toCharArray();
    sc.close();
  }

  public void solve() {
    S[3] = '8';
  }

  public void out() {
    System.out.println(String.valueOf(S));
  }
} import java.util.*; util.* java import java.io.*; io.* java class Main {
  char[] S;
  public static void main(String[] args) {
    Main m = new Main();
    m.input();
    m.solve();
    m.out();
  }

  public void input() {
    Scanner sc = new Scanner(System.in);
    S = sc.next().toCharArray();
    sc.close();
  }

  public void solve() {
    S[3] = '8';
  }

  public void out() {
    System.out.println(String.valueOf(S));
  }
} Main char[] S; S public static void main(String[] args) {
    Main m = new Main();
    m.input();
    m.solve();
    m.out();
  } main {
    Main m = new Main();
    m.input();
    m.solve();
    m.out();
  } Main m = new Main(); m new Main() m.input() m.input m m.solve() m.solve m m.out() m.out m String[] args args public void input() {
    Scanner sc = new Scanner(System.in);
    S = sc.next().toCharArray();
    sc.close();
  } input {
    Scanner sc = new Scanner(System.in);
    S = sc.next().toCharArray();
    sc.close();
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) S = sc.next().toCharArray() S sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc sc.close() sc.close sc public void solve() {
    S[3] = '8';
  } solve {
    S[3] = '8';
  } S[3] = '8' S[3] S 3 '8' public void out() {
    System.out.println(String.valueOf(S));
  } out {
    System.out.println(String.valueOf(S));
  } System.out.println(String.valueOf(S)) System.out.println System.out System System.out String.valueOf(S) String.valueOf String S
import java.util.*;
import java.io.*;

class Main {
  char[] S;
  public static void main(String[] args) {
    Main m = new Main();
    m.input();
    m.solve();
    m.out();
  }

  public void input() {
    Scanner sc = new Scanner(System.in);
    S = sc.next().toCharArray();
    sc.close();
  }

  public void solve() {
    S[3] = '8';
  }

  public void out() {
    System.out.println(String.valueOf(S));
  }
}
