print(input().translate(str.maketrans("IOlo","1100")))