import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();

        for (int i = 0; i < s.length(); i++) {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        }
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();

        for (int i = 0; i < s.length(); i++) {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();

        for (int i = 0; i < s.length(); i++) {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();

        for (int i = 0; i < s.length(); i++) {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc for (int i = 0; i < s.length(); i++) {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        } int i = 0; int i = 0; i 0 i < s.length() i s.length() s.length s i++ i++ i {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        } {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        } switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            } i case 2: 2 case 2: System.out.print('1') System.out.print System.out System System.out '1' break; case 3: 3 case 3: System.out.print('8') System.out.print System.out System System.out '8' break; default: default: System.out.print(s.charAt(i)) System.out.print System.out System System.out s.charAt(i) s.charAt s i break; String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();

        for (int i = 0; i < s.length(); i++) {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        }
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();

        for (int i = 0; i < s.length(); i++) {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        }
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();

        for (int i = 0; i < s.length(); i++) {
            switch (i) {
                case 2:
                    System.out.print('1');
                    break;
                case 3:
                    System.out.print('8');
                    break;
                default:
                    System.out.print(s.charAt(i));
                    break;
            }
        }
    }
}
