fn main() { let n: i32 = input_line()[0]; for a in 1..=10 { for b in 1..=10 { if a + b == n { println!("{} {}", a, b); return; } } } } #[allow(unused)] fn input_line() -> Vec { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); s.trim() .split_whitespace() .map(|e| e.parse().ok().unwrap()) .collect() }