word=input() print(word.replace("l","1").replace("L","1").replace("o","0").replace("O","0"))