import re print(re.sub('O|o','0',re.sub('I|l','1',input())))