import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s=scan.next();
		StringBuilder s1= new StringBuilder(s);
		s1.replace(3, 4, "8");
		System.out.println(s1);
	}

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

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s=scan.next();
		StringBuilder s1= new StringBuilder(s);
		s1.replace(3, 4, "8");
		System.out.println(s1);
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s=scan.next();
		StringBuilder s1= new StringBuilder(s);
		s1.replace(3, 4, "8");
		System.out.println(s1);
	} main {
		Scanner scan = new Scanner(System.in);
		String s=scan.next();
		StringBuilder s1= new StringBuilder(s);
		s1.replace(3, 4, "8");
		System.out.println(s1);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String s=scan.next(); s scan.next() scan.next scan StringBuilder s1= new StringBuilder(s); s1 new StringBuilder(s) s1.replace(3, 4, "8") s1.replace s1 3 4 "8" System.out.println(s1) System.out.println System.out System System.out s1 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s=scan.next();
		StringBuilder s1= new StringBuilder(s);
		s1.replace(3, 4, "8");
		System.out.println(s1);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s=scan.next();
		StringBuilder s1= new StringBuilder(s);
		s1.replace(3, 4, "8");
		System.out.println(s1);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String s=scan.next();
		StringBuilder s1= new StringBuilder(s);
		s1.replace(3, 4, "8");
		System.out.println(s1);
	}

}
