import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String s = scan.next();

		System.out.println("2018" + s.substring(4, s.length()));

		scan.close();

	}

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

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String s = scan.next();

		System.out.println("2018" + s.substring(4, s.length()));

		scan.close();

	}

} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String s = scan.next();

		System.out.println("2018" + s.substring(4, s.length()));

		scan.close();

	} main {

		Scanner scan = new Scanner(System.in);
		String s = scan.next();

		System.out.println("2018" + s.substring(4, s.length()));

		scan.close();

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String s = scan.next(); s scan.next() scan.next scan System.out.println("2018" + s.substring(4, s.length())) System.out.println System.out System System.out "2018" + s.substring(4, s.length()) "2018" s.substring(4, s.length()) s.substring s 4 s.length() s.length s scan.close() scan.close scan String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String s = scan.next();

		System.out.println("2018" + s.substring(4, s.length()));

		scan.close();

	}

} public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String s = scan.next();

		System.out.println("2018" + s.substring(4, s.length()));

		scan.close();

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String s = scan.next();

		System.out.println("2018" + s.substring(4, s.length()));

		scan.close();

	}

}