# coding: utf-8 import re print(re.sub('[oO]', '0', re.sub('[Il]', '1', input())))