import java.util.*;
 
class Main{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        s = s.replaceAll("2017/01","");
        System.out.println("2018/01"+s);
    }
} import java.util.*; util.* java class Main{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        s = s.replaceAll("2017/01","");
        System.out.println("2018/01"+s);
    }
} Main public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        s = s.replaceAll("2017/01","");
        System.out.println("2018/01"+s);
    } main {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        s = s.replaceAll("2017/01","");
        System.out.println("2018/01"+s);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc s = s.replaceAll("2017/01","") s s.replaceAll("2017/01","") s.replaceAll s "2017/01" "" System.out.println("2018/01"+s) System.out.println System.out System System.out "2018/01"+s "2018/01" s String args[] args
import java.util.*;
 
class Main{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        s = s.replaceAll("2017/01","");
        System.out.println("2018/01"+s);
    }
}