import java.util.*; import java.util.stream.Stream; import java.time.*; import java.time.format.*; public class No676 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); s = s.replace("I" , "1"); s = s.replace("l" , "1"); s = s.replace("O" , "0"); s = s.replace("o" , "0"); System.out.println(s); } }