import java.util.*; public class Main{ static Scanner s=new Scanner(System.in); public static void main(String[]$){ System.out.println( s.next() .replaceAll("I|l","1") .replaceAll("O|o","0") ); } }