import java.util.*;
public class Main {
    Scanner sc = new Scanner(System.in);
    void doIt() {
        StringBuilder sb	= new StringBuilder(sc.next());
	sb.setCharAt(3,'8');
	System.out.println(sb.toString());
    }
    public static void main(String args[]) {
	new Main().doIt();
    }
} import java.util.*; util.* java public class Main {
    Scanner sc = new Scanner(System.in);
    void doIt() {
        StringBuilder sb	= new StringBuilder(sc.next());
	sb.setCharAt(3,'8');
	System.out.println(sb.toString());
    }
    public static void main(String args[]) {
	new Main().doIt();
    }
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) void doIt() {
        StringBuilder sb	= new StringBuilder(sc.next());
	sb.setCharAt(3,'8');
	System.out.println(sb.toString());
    } doIt {
        StringBuilder sb	= new StringBuilder(sc.next());
	sb.setCharAt(3,'8');
	System.out.println(sb.toString());
    } StringBuilder sb	= new StringBuilder(sc.next()); sb new StringBuilder(sc.next()) 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 public static void main(String args[]) {
	new Main().doIt();
    } main {
	new Main().doIt();
    } new Main().doIt() new Main().doIt new Main() String args[] args public class Main {
    Scanner sc = new Scanner(System.in);
    void doIt() {
        StringBuilder sb	= new StringBuilder(sc.next());
	sb.setCharAt(3,'8');
	System.out.println(sb.toString());
    }
    public static void main(String args[]) {
	new Main().doIt();
    }
} public class Main {
    Scanner sc = new Scanner(System.in);
    void doIt() {
        StringBuilder sb	= new StringBuilder(sc.next());
	sb.setCharAt(3,'8');
	System.out.println(sb.toString());
    }
    public static void main(String args[]) {
	new Main().doIt();
    }
} Main
import java.util.*;
public class Main {
    Scanner sc = new Scanner(System.in);
    void doIt() {
        StringBuilder sb	= new StringBuilder(sc.next());
	sb.setCharAt(3,'8');
	System.out.println(sb.toString());
    }
    public static void main(String args[]) {
	new Main().doIt();
    }
}
