
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		//String line = br.readLine();
		Scanner scan = new Scanner(System.in);

	    String a = scan.next();
	    String[] b = a.split("");
	    b[3]="8";
	    
	    for(int i=0;i<b.length;i++)
	        System.out.print(b[i]);
	    System.out.println("");


	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws Exception {
		//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		//String line = br.readLine();
		Scanner scan = new Scanner(System.in);

	    String a = scan.next();
	    String[] b = a.split("");
	    b[3]="8";
	    
	    for(int i=0;i<b.length;i++)
	        System.out.print(b[i]);
	    System.out.println("");


	}
} Main public static void main(String[] args) throws Exception {
		//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		//String line = br.readLine();
		Scanner scan = new Scanner(System.in);

	    String a = scan.next();
	    String[] b = a.split("");
	    b[3]="8";
	    
	    for(int i=0;i<b.length;i++)
	        System.out.print(b[i]);
	    System.out.println("");


	} main {
		//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		//String line = br.readLine();
		Scanner scan = new Scanner(System.in);

	    String a = scan.next();
	    String[] b = a.split("");
	    b[3]="8";
	    
	    for(int i=0;i<b.length;i++)
	        System.out.print(b[i]);
	    System.out.println("");


	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String a = scan.next(); a scan.next() scan.next scan String[] b = a.split(""); b a.split("") a.split a "" b[3]="8" b[3] b 3 "8" for(int i=0;i<b.length;i++)
	        System.out.print(b[i]); int i=0; int i=0; i 0 i<b.length i b.length b b.length i++ i++ i System.out.print(b[i]); System.out.print(b[i]) System.out.print System.out System System.out b[i] b i System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		//String line = br.readLine();
		Scanner scan = new Scanner(System.in);

	    String a = scan.next();
	    String[] b = a.split("");
	    b[3]="8";
	    
	    for(int i=0;i<b.length;i++)
	        System.out.print(b[i]);
	    System.out.println("");


	}
} public class Main {

	public static void main(String[] args) throws Exception {
		//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		//String line = br.readLine();
		Scanner scan = new Scanner(System.in);

	    String a = scan.next();
	    String[] b = a.split("");
	    b[3]="8";
	    
	    for(int i=0;i<b.length;i++)
	        System.out.print(b[i]);
	    System.out.println("");


	}
} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		//String line = br.readLine();
		Scanner scan = new Scanner(System.in);

	    String a = scan.next();
	    String[] b = a.split("");
	    b[3]="8";
	    
	    for(int i=0;i<b.length;i++)
	        System.out.print(b[i]);
	    System.out.println("");


	}
}
