import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Tester2 { public static void main(String[] args){ try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){ System.out.println(br.readLine().replace("l", "1").replace("o", "0").replace("I", "1").replace("O", "0")); }catch(IOException e) { e.printStackTrace(); } } }