import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] date = scanner.next().split("");
        date[3] = "8";
        StringBuilder d = new StringBuilder();
        for (String aDate : date) {
            d.append(aDate);
        }
        System.out.println(d);

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

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] date = scanner.next().split("");
        date[3] = "8";
        StringBuilder d = new StringBuilder();
        for (String aDate : date) {
            d.append(aDate);
        }
        System.out.println(d);

    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] date = scanner.next().split("");
        date[3] = "8";
        StringBuilder d = new StringBuilder();
        for (String aDate : date) {
            d.append(aDate);
        }
        System.out.println(d);

    } main {
        Scanner scanner = new Scanner(System.in);
        String[] date = scanner.next().split("");
        date[3] = "8";
        StringBuilder d = new StringBuilder();
        for (String aDate : date) {
            d.append(aDate);
        }
        System.out.println(d);

    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String[] date = scanner.next().split(""); date scanner.next().split("") scanner.next().split scanner.next() scanner.next scanner "" date[3] = "8" date[3] date 3 "8" StringBuilder d = new StringBuilder(); d new StringBuilder() for (String aDate : date) {
            d.append(aDate);
        } String aDate date {
            d.append(aDate);
        } {
            d.append(aDate);
        } d.append(aDate) d.append d aDate System.out.println(d) System.out.println System.out System System.out d String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] date = scanner.next().split("");
        date[3] = "8";
        StringBuilder d = new StringBuilder();
        for (String aDate : date) {
            d.append(aDate);
        }
        System.out.println(d);

    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] date = scanner.next().split("");
        date[3] = "8";
        StringBuilder d = new StringBuilder();
        for (String aDate : date) {
            d.append(aDate);
        }
        System.out.println(d);

    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] date = scanner.next().split("");
        date[3] = "8";
        StringBuilder d = new StringBuilder();
        for (String aDate : date) {
            d.append(aDate);
        }
        System.out.println(d);

    }
}
