use std::io; fn main() { let mut input = String::new(); let _ = io::stdin().read_line(&mut input).unwrap(); let result = input.trim().chars() .map(|c| { match c { 'I' | 'l' => '1', 'O' | 'o' => '0', _ => c } }) .collect::(); println!("{}", result); }