S = input() S.replace("I","1",1000).replace("l","1",1000).replace("O","0",1000).replace("o","0",1000)