import java.util.*;
public class Main{
    public static void main(String args[]){
        Scanner scanner = new Scanner(System.in);

        String S = scanner.nextLine();
        String A = new String("2018");

        A = A.concat(S.substring(4));
        System.out.println(A);
        }
} import java.util.*; util.* java public class Main{
    public static void main(String args[]){
        Scanner scanner = new Scanner(System.in);

        String S = scanner.nextLine();
        String A = new String("2018");

        A = A.concat(S.substring(4));
        System.out.println(A);
        }
} Main public static void main(String args[]){
        Scanner scanner = new Scanner(System.in);

        String S = scanner.nextLine();
        String A = new String("2018");

        A = A.concat(S.substring(4));
        System.out.println(A);
        } main {
        Scanner scanner = new Scanner(System.in);

        String S = scanner.nextLine();
        String A = new String("2018");

        A = A.concat(S.substring(4));
        System.out.println(A);
        } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String S = scanner.nextLine(); S scanner.nextLine() scanner.nextLine scanner String A = new String("2018"); A new String("2018") A = A.concat(S.substring(4)) A A.concat(S.substring(4)) A.concat A S.substring(4) S.substring S 4 System.out.println(A) System.out.println System.out System System.out A String args[] args public class Main{
    public static void main(String args[]){
        Scanner scanner = new Scanner(System.in);

        String S = scanner.nextLine();
        String A = new String("2018");

        A = A.concat(S.substring(4));
        System.out.println(A);
        }
} public class Main{
    public static void main(String args[]){
        Scanner scanner = new Scanner(System.in);

        String S = scanner.nextLine();
        String A = new String("2018");

        A = A.concat(S.substring(4));
        System.out.println(A);
        }
} Main
import java.util.*;
public class Main{
    public static void main(String args[]){
        Scanner scanner = new Scanner(System.in);

        String S = scanner.nextLine();
        String A = new String("2018");

        A = A.concat(S.substring(4));
        System.out.println(A);
        }
}