import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));
		String str="";
		str=bfr.readLine();
		StringBuilder sb=new StringBuilder();
		sb.append(str);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));
		String str="";
		str=bfr.readLine();
		StringBuilder sb=new StringBuilder();
		sb.append(str);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());
	}
} Main public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));
		String str="";
		str=bfr.readLine();
		StringBuilder sb=new StringBuilder();
		sb.append(str);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());
	} main {
		BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));
		String str="";
		str=bfr.readLine();
		StringBuilder sb=new StringBuilder();
		sb.append(str);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());
	} BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in)); bfr new BufferedReader(new InputStreamReader(System.in)) String str=""; str "" str=bfr.readLine() str bfr.readLine() bfr.readLine bfr StringBuilder sb=new StringBuilder(); sb new StringBuilder() sb.append(str) sb.append sb str sb.setCharAt(3,'8') sb.setCharAt sb 3 '8' System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));
		String str="";
		str=bfr.readLine();
		StringBuilder sb=new StringBuilder();
		sb.append(str);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());
	}
}