    import java.util.*;
    public class Main {
     
    	public static void main(String[] args) {
    			
    		Scanner scan =new Scanner(System.in);
    		
    		char[] s=scan.next().toCharArray();
    		
    		for (int i=0;i<10;++i) {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		}
     
    }
    }
// end  import java.util.*; util.* java public class Main {
     
    	public static void main(String[] args) {
    			
    		Scanner scan =new Scanner(System.in);
    		
    		char[] s=scan.next().toCharArray();
    		
    		for (int i=0;i<10;++i) {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		}
     
    }
    } Main public static void main(String[] args) {
    			
    		Scanner scan =new Scanner(System.in);
    		
    		char[] s=scan.next().toCharArray();
    		
    		for (int i=0;i<10;++i) {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		}
     
    } main {
    			
    		Scanner scan =new Scanner(System.in);
    		
    		char[] s=scan.next().toCharArray();
    		
    		for (int i=0;i<10;++i) {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		}
     
    } Scanner scan =new Scanner(System.in); scan new Scanner(System.in) char[] s=scan.next().toCharArray(); s scan.next().toCharArray() scan.next().toCharArray scan.next() scan.next scan for (int i=0;i<10;++i) {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		} int i=0; int i=0; i 0 i<10 i 10 ++i ++i i {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		} {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		} if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			} i==3 i 3 {
    				System.out.print(8);
    			} System.out.print(8) System.out.print System.out System System.out 8 {
    				System.out.print(s[i]);
    			} System.out.print(s[i]) System.out.print System.out System System.out s[i] s i String[] args args public class Main {
     
    	public static void main(String[] args) {
    			
    		Scanner scan =new Scanner(System.in);
    		
    		char[] s=scan.next().toCharArray();
    		
    		for (int i=0;i<10;++i) {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		}
     
    }
    } public class Main {
     
    	public static void main(String[] args) {
    			
    		Scanner scan =new Scanner(System.in);
    		
    		char[] s=scan.next().toCharArray();
    		
    		for (int i=0;i<10;++i) {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		}
     
    }
    } Main
    import java.util.*;
    public class Main {
     
    	public static void main(String[] args) {
    			
    		Scanner scan =new Scanner(System.in);
    		
    		char[] s=scan.next().toCharArray();
    		
    		for (int i=0;i<10;++i) {
    			if (i==3) {
    				System.out.print(8);
    			}else {
    				System.out.print(s[i]);
    			}
    		}
     
    }
    }
// end 