def hoge(c) if c == 'I' || c == 'l' return '1' elsif c == 'O' || c == 'o' return '0' else return c end end puts gets.chomp.split('').map{|c|hoge(c)}.join