import re print(re.sub('[Il]','1',input()).replace('o','0'))