S = input() ans = "" for c in S: if c == 'I' or c == 'l': ans += '1' elif c == 'O' or c == 'o': ans += '0' else: ans += c print(ans)