import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		String s = stdIn.next();
		StringBuilder sb = new StringBuilder(s);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		String s = stdIn.next();
		StringBuilder sb = new StringBuilder(s);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		String s = stdIn.next();
		StringBuilder sb = new StringBuilder(s);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		String s = stdIn.next();
		StringBuilder sb = new StringBuilder(s);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) String s = stdIn.next(); s stdIn.next() stdIn.next stdIn StringBuilder sb = new StringBuilder(s); sb new StringBuilder(s) 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 public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		String s = stdIn.next();
		StringBuilder sb = new StringBuilder(s);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		String s = stdIn.next();
		StringBuilder sb = new StringBuilder(s);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		String s = stdIn.next();
		StringBuilder sb = new StringBuilder(s);
		sb.setCharAt(3,'8');
		System.out.println(sb.toString());

	}

}
