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