namespace ConsoleApp1 { class Program { static void Main(string[] args) { var Input = System.Console.ReadLine(); var Output = ""; for (var i = 0; i < Input.Length; i++) { if((Input[i] == 'I')||(Input[i]=='i')) { Output += '1'; continue; } if ((Input[i] == 'O') || (Input[i] == 'o')) { Output += '0'; continue; } Output += Input[i]; } System.Console.WriteLine(Output); } } }