fn main() {
    let mut buf = String::new();
    let _ = std::io::stdin().read_line(&mut buf);
    let bytes = buf.as_bytes();
    if let Ok(ans) = String::from_utf8(
        bytes.iter().map(|&b|
            match b {
            b'I' | b'l'=> b'1',
            b'o' | b'O' => b'0',
            _ => b,
            }
        ).collect()
    ) {
        println!("{}", ans);
    }
}