fn main() { let mut input = String::new(); if let Ok(_) = std::io::stdin().read_line(&mut input) { if let Ok(n) = input.trim().parse::<usize>() { (1..=9).for_each(|i| { println!("{} * {} = {}", n, i, n * i); }); } } }