import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.PriorityQueue;
import java.util.Scanner;
import java.util.TreeSet;

import org.omg.Messaging.SyncScopeHelper;

public class Main {
	Scanner sc = new Scanner(System.in);
	public static void main(String[] args){
		new Main();
	}
	public Main(){
		new Test_100().doIt();
	}
	class Test_100{
		void doIt() {
			String str[] = sc.next().split("/");
			System.out.println("2018/"+str[1]+"/"+str[2]);
		}
	}
} import java.util.ArrayList; ArrayList java.util import java.util.Arrays; Arrays java.util import java.util.Collections; Collections java.util import java.util.PriorityQueue; PriorityQueue java.util import java.util.Scanner; Scanner java.util import java.util.TreeSet; TreeSet java.util import org.omg.Messaging.SyncScopeHelper; SyncScopeHelper org.omg.Messaging public class Main {
	Scanner sc = new Scanner(System.in);
	public static void main(String[] args){
		new Main();
	}
	public Main(){
		new Test_100().doIt();
	}
	class Test_100{
		void doIt() {
			String str[] = sc.next().split("/");
			System.out.println("2018/"+str[1]+"/"+str[2]);
		}
	}
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args){
		new Main();
	} main {
		new Main();
	} new Main() String[] args args public Main(){
		new Test_100().doIt();
	} Main {
		new Test_100().doIt();
	} new Test_100().doIt() new Test_100().doIt new Test_100() class Test_100{
		void doIt() {
			String str[] = sc.next().split("/");
			System.out.println("2018/"+str[1]+"/"+str[2]);
		}
	} Test_100 void doIt() {
			String str[] = sc.next().split("/");
			System.out.println("2018/"+str[1]+"/"+str[2]);
		} doIt {
			String str[] = sc.next().split("/");
			System.out.println("2018/"+str[1]+"/"+str[2]);
		} String str[] = sc.next().split("/"); str sc.next().split("/") sc.next().split sc.next() sc.next sc "/" System.out.println("2018/"+str[1]+"/"+str[2]) System.out.println System.out System System.out "2018/"+str[1]+"/"+str[2] "/" "2018/"+str[1]+"/"+str[2] "2018/" str[1] str 1 "/" str[2] str 2 public class Main {
	Scanner sc = new Scanner(System.in);
	public static void main(String[] args){
		new Main();
	}
	public Main(){
		new Test_100().doIt();
	}
	class Test_100{
		void doIt() {
			String str[] = sc.next().split("/");
			System.out.println("2018/"+str[1]+"/"+str[2]);
		}
	}
} public class Main {
	Scanner sc = new Scanner(System.in);
	public static void main(String[] args){
		new Main();
	}
	public Main(){
		new Test_100().doIt();
	}
	class Test_100{
		void doIt() {
			String str[] = sc.next().split("/");
			System.out.println("2018/"+str[1]+"/"+str[2]);
		}
	}
} Main
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.PriorityQueue;
import java.util.Scanner;
import java.util.TreeSet;

import org.omg.Messaging.SyncScopeHelper;

public class Main {
	Scanner sc = new Scanner(System.in);
	public static void main(String[] args){
		new Main();
	}
	public Main(){
		new Test_100().doIt();
	}
	class Test_100{
		void doIt() {
			String str[] = sc.next().split("/");
			System.out.println("2018/"+str[1]+"/"+str[2]);
		}
	}
}
