import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input = scanner.nextLine();
        String firstThree = input.substring(0,3);
        String seven = input.substring(3,4);
        String rest = input.substring(4);
        seven = "8";
        System.out.println(firstThree+seven+rest);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input = scanner.nextLine();
        String firstThree = input.substring(0,3);
        String seven = input.substring(3,4);
        String rest = input.substring(4);
        seven = "8";
        System.out.println(firstThree+seven+rest);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input = scanner.nextLine();
        String firstThree = input.substring(0,3);
        String seven = input.substring(3,4);
        String rest = input.substring(4);
        seven = "8";
        System.out.println(firstThree+seven+rest);
    } main {
        Scanner scanner = new Scanner(System.in);
        String input = scanner.nextLine();
        String firstThree = input.substring(0,3);
        String seven = input.substring(3,4);
        String rest = input.substring(4);
        seven = "8";
        System.out.println(firstThree+seven+rest);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String input = scanner.nextLine(); input scanner.nextLine() scanner.nextLine scanner String firstThree = input.substring(0,3); firstThree input.substring(0,3) input.substring input 0 3 String seven = input.substring(3,4); seven input.substring(3,4) input.substring input 3 4 String rest = input.substring(4); rest input.substring(4) input.substring input 4 seven = "8" seven "8" System.out.println(firstThree+seven+rest) System.out.println System.out System System.out firstThree+seven+rest firstThree+seven+rest firstThree seven rest String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input = scanner.nextLine();
        String firstThree = input.substring(0,3);
        String seven = input.substring(3,4);
        String rest = input.substring(4);
        seven = "8";
        System.out.println(firstThree+seven+rest);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input = scanner.nextLine();
        String firstThree = input.substring(0,3);
        String seven = input.substring(3,4);
        String rest = input.substring(4);
        seven = "8";
        System.out.println(firstThree+seven+rest);
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input = scanner.nextLine();
        String firstThree = input.substring(0,3);
        String seven = input.substring(3,4);
        String rest = input.substring(4);
        seven = "8";
        System.out.println(firstThree+seven+rest);
    }
}
