print(input().translate(str.maketrans('IlOo','1100')))