import java.util.Scanner;
public class Main {
    public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	String input = scan.nextLine();
	String output = input.replace("2017","2018");
	System.out.println(output);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	String input = scan.nextLine();
	String output = input.replace("2017","2018");
	System.out.println(output);
    }
} Main public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	String input = scan.nextLine();
	String output = input.replace("2017","2018");
	System.out.println(output);
    } main {
	Scanner scan = new Scanner(System.in);
	String input = scan.nextLine();
	String output = input.replace("2017","2018");
	System.out.println(output);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String input = scan.nextLine(); input scan.nextLine() scan.nextLine scan String output = input.replace("2017","2018"); output input.replace("2017","2018") input.replace input "2017" "2018" System.out.println(output) System.out.println System.out System System.out output String[] args args public class Main {
    public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	String input = scan.nextLine();
	String output = input.replace("2017","2018");
	System.out.println(output);
    }
} public class Main {
    public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	String input = scan.nextLine();
	String output = input.replace("2017","2018");
	System.out.println(output);
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	String input = scan.nextLine();
	String output = input.replace("2017","2018");
	System.out.println(output);
    }
}
