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