import java.util.*;

public class Main {

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

        String S = scanner.next();

        System.out.println("2018" + S.substring(4));

    }
} import java.util.*; util.* java public class Main {

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

        String S = scanner.next();

        System.out.println("2018" + S.substring(4));

    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        String S = scanner.next();

        System.out.println("2018" + S.substring(4));

    } main {
        Scanner scanner = new Scanner(System.in);

        String S = scanner.next();

        System.out.println("2018" + S.substring(4));

    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String S = scanner.next(); S scanner.next() scanner.next scanner System.out.println("2018" + S.substring(4)) System.out.println System.out System System.out "2018" + S.substring(4) "2018" S.substring(4) S.substring S 4 String[] args args public class Main {

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

        String S = scanner.next();

        System.out.println("2018" + S.substring(4));

    }
} public class Main {

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

        String S = scanner.next();

        System.out.println("2018" + S.substring(4));

    }
} Main
import java.util.*;

public class Main {

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

        String S = scanner.next();

        System.out.println("2018" + S.substring(4));

    }
}
