use std::io::stdin; fn get_ints() -> Vec { let mut line = String::new(); stdin().read_line(&mut line).ok(); line.trim().split_whitespace().map(|i| i.parse().unwrap()).collect() } fn main() { let ints = get_ints(); let (a, b) = (ints[0], ints[1]); let ans = b - a; let p = if ans > 0 { "+" } else { "" }; println!("{}{}", p, ans); }