import java.util.*;
class Main{
public static void main(String[] args){
Scanner c = new Scanner(System.in);
System.out.println("2018"+c.next().substring(4));
}
} import java.util.*; util.* java class Main{
public static void main(String[] args){
Scanner c = new Scanner(System.in);
System.out.println("2018"+c.next().substring(4));
}
} Main public static void main(String[] args){
Scanner c = new Scanner(System.in);
System.out.println("2018"+c.next().substring(4));
} main {
Scanner c = new Scanner(System.in);
System.out.println("2018"+c.next().substring(4));
} Scanner c = new Scanner(System.in); c new Scanner(System.in) System.out.println("2018"+c.next().substring(4)) System.out.println System.out System System.out "2018"+c.next().substring(4) "2018" c.next().substring(4) c.next().substring c.next() c.next c 4 String[] args args
import java.util.*;
class Main{
public static void main(String[] args){
Scanner c = new Scanner(System.in);
System.out.println("2018"+c.next().substring(4));
}
}
