s = list(input()) for i in range(len(s)): if s[i]=="I" or s[i]=="l": s[i]="1" elif s[i]=="O" or s[i]=="o": s[i]="0" print("".join(s))