import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner scn=new Scanner(System.in);
        String wrongDate=scn.next();
        for(int i=0;i<wrongDate.length();i++){
            if(i==3) {
                System.out.print(8);
            }else{
                System.out.print(wrongDate.charAt(i));
            }
        }
        System.out.println();
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        Scanner scn=new Scanner(System.in);
        String wrongDate=scn.next();
        for(int i=0;i<wrongDate.length();i++){
            if(i==3) {
                System.out.print(8);
            }else{
                System.out.print(wrongDate.charAt(i));
            }
        }
        System.out.println();
    }
} Main public static void main(String[] args){
        Scanner scn=new Scanner(System.in);
        String wrongDate=scn.next();
        for(int i=0;i<wrongDate.length();i++){
            if(i==3) {
                System.out.print(8);
            }else{
                System.out.print(wrongDate.charAt(i));
            }
        }
        System.out.println();
    } main {
        Scanner scn=new Scanner(System.in);
        String wrongDate=scn.next();
        for(int i=0;i<wrongDate.length();i++){
            if(i==3) {
                System.out.print(8);
            }else{
                System.out.print(wrongDate.charAt(i));
            }
        }
        System.out.println();
    } Scanner scn=new Scanner(System.in); scn new Scanner(System.in) String wrongDate=scn.next(); wrongDate scn.next() scn.next scn for(int i=0;i<wrongDate.length();i++){
            if(i==3) {
                System.out.print(8);
            }else{
                System.out.print(wrongDate.charAt(i));
            }
        } int i=0; int i=0; i 0 i<wrongDate.length() i wrongDate.length() wrongDate.length wrongDate i++ i++ i {
            if(i==3) {
                System.out.print(8);
            }else{
                System.out.print(wrongDate.charAt(i));
            }
        } {
            if(i==3) {
                System.out.print(8);
            }else{
                System.out.print(wrongDate.charAt(i));
            }
        } if(i==3) {
                System.out.print(8);
            }else{
                System.out.print(wrongDate.charAt(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(wrongDate.charAt(i));
            } System.out.print(wrongDate.charAt(i)) System.out.print System.out System System.out wrongDate.charAt(i) wrongDate.charAt wrongDate i System.out.println() System.out.println System.out System System.out String[] args args
import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner scn=new Scanner(System.in);
        String wrongDate=scn.next();
        for(int i=0;i<wrongDate.length();i++){
            if(i==3) {
                System.out.print(8);
            }else{
                System.out.print(wrongDate.charAt(i));
            }
        }
        System.out.println();
    }
}
