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; if(c=='o'||c=='O') c=0; } String newStr = String.valueOf(carr); System.out.println(newStr); } }