import java.util.Scanner; class main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); char[] carr = s.toCharArray(); for(char c:carr){ if(c=='l'||c=='I') //c='1'; System.out.print('1'); else if(c=='o'||c=='O') //c='0'; System.out.print('0'); else System.out.print(c); } //String newStr = String.valueOf(carr); //System.out.println(newStr); } }