import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String str = s.next();
        StringBuilder sb = new StringBuilder(str);
        sb.setCharAt(3, '8');
        str = sb.toString();
        System.out.println(str);
    }
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String str = s.next();
        StringBuilder sb = new StringBuilder(str);
        sb.setCharAt(3, '8');
        str = sb.toString();
        System.out.println(str);
    }
} Main public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String str = s.next();
        StringBuilder sb = new StringBuilder(str);
        sb.setCharAt(3, '8');
        str = sb.toString();
        System.out.println(str);
    } main {
        Scanner s = new Scanner(System.in);
        String str = s.next();
        StringBuilder sb = new StringBuilder(str);
        sb.setCharAt(3, '8');
        str = sb.toString();
        System.out.println(str);
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) String str = s.next(); str s.next() s.next s StringBuilder sb = new StringBuilder(str); sb new StringBuilder(str) sb.setCharAt(3, '8') sb.setCharAt sb 3 '8' str = sb.toString() str sb.toString() sb.toString sb System.out.println(str) System.out.println System.out System System.out str String[] args args public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String str = s.next();
        StringBuilder sb = new StringBuilder(str);
        sb.setCharAt(3, '8');
        str = sb.toString();
        System.out.println(str);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String str = s.next();
        StringBuilder sb = new StringBuilder(str);
        sb.setCharAt(3, '8');
        str = sb.toString();
        System.out.println(str);
    }
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

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