import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String date = sc.next();

		System.out.println(date.replaceFirst("2017/01", "2018/01"));
	}
}

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

		System.out.println(date.replaceFirst("2017/01", "2018/01"));
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String date = sc.next();

		System.out.println(date.replaceFirst("2017/01", "2018/01"));
	} main {
		Scanner sc = new Scanner(System.in);
		String date = sc.next();

		System.out.println(date.replaceFirst("2017/01", "2018/01"));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String date = sc.next(); date sc.next() sc.next sc System.out.println(date.replaceFirst("2017/01", "2018/01")) System.out.println System.out System System.out date.replaceFirst("2017/01", "2018/01") date.replaceFirst date "2017/01" "2018/01" String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String date = sc.next();

		System.out.println(date.replaceFirst("2017/01", "2018/01"));
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String date = sc.next();

		System.out.println(date.replaceFirst("2017/01", "2018/01"));
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String date = sc.next();

		System.out.println(date.replaceFirst("2017/01", "2018/01"));
	}
}


