use proconio::input; fn main() { input! { a: usize, b: usize, } println!("{} {}", 10-a, a+b-10); }