using System; using System.Text.RegularExpressions; class Program { public void Solve() { string S = Console.ReadLine(); string repString = Regex.Replace(S, "(I|l)", "1"); repString = Regex.Replace(repString, "(O|o)", "0"); Console.WriteLine(repString); } static void Main() { var solver = new Program(); solver.Solve(); } }