import java.util.Scanner;

class Main {


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);        
        StringBuilder sb = new StringBuilder();
        sb.append(sc.next());
        sb.setCharAt(3, '8');
        System.out.println(sb);
        sc.close();
    }
} import java.util.Scanner; Scanner java.util class Main {


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);        
        StringBuilder sb = new StringBuilder();
        sb.append(sc.next());
        sb.setCharAt(3, '8');
        System.out.println(sb);
        sc.close();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);        
        StringBuilder sb = new StringBuilder();
        sb.append(sc.next());
        sb.setCharAt(3, '8');
        System.out.println(sb);
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);        
        StringBuilder sb = new StringBuilder();
        sb.append(sc.next());
        sb.setCharAt(3, '8');
        System.out.println(sb);
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append(sc.next()) sb.append sb sc.next() sc.next sc sb.setCharAt(3, '8') sb.setCharAt sb 3 '8' System.out.println(sb) System.out.println System.out System System.out sb sc.close() sc.close sc String[] args args
import java.util.Scanner;

class Main {


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);        
        StringBuilder sb = new StringBuilder();
        sb.append(sc.next());
        sb.setCharAt(3, '8');
        System.out.println(sb);
        sc.close();
    }
}