import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String ans = solve(s); System.out.println(ans); } static String solve(String s) { final char UPPER_I = 'I'; final char LOWER_L = 'l'; final char ONE = '1'; s = s.replace(UPPER_I, ONE); s = s.replace(LOWER_L, ONE); final char UPPER_O = 'O'; final char LOWER_O = 'o'; final char ZERO = '0'; s = s.replace(UPPER_O, ZERO); s = s.replace(LOWER_O, ZERO); return s; } }