print(translate(input().maketrance("IOlo","1100")))