use std::io::Read; fn main() { let mut s = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let s = s.trim().split('\n').next().unwrap().trim() .replace("I", "1") .replace("l", "1") .replace("O", "0") .replace("o", "0") ; println!("{}", s); }