# -*- coding: utf-8 -*- s = list(input()) for i in range(len(s)): if s[i] == "I" or s[i] == "l": s[i] = "1" if s[i] == "O" or s[i] == "o": s[i] = "0" s = "".join(s) print(s)