a=input() a=a.replace("I","1") a=a.replace("l","1") a=a.replace("O","0") a=a.replace("o","0") print(a)