
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		String newStr = "2018";
		newStr += str.substring(4, str.length());

		System.out.println(newStr);

	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		String newStr = "2018";
		newStr += str.substring(4, str.length());

		System.out.println(newStr);

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		String newStr = "2018";
		newStr += str.substring(4, str.length());

		System.out.println(newStr);

	} main {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		String newStr = "2018";
		newStr += str.substring(4, str.length());

		System.out.println(newStr);

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		String newStr = "2018";
		newStr += str.substring(4, str.length());

		System.out.println(newStr);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		String newStr = "2018";
		newStr += str.substring(4, str.length());

		System.out.println(newStr);

	}

} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		String newStr = "2018";
		newStr += str.substring(4, str.length());

		System.out.println(newStr);

	}

}
