fn main() { let mut n = String::new(); std::io::stdin().read_line(&mut n).ok(); let n: usize = n.trim().parse().unwrap(); let mut x = String::new(); std::io::stdin().read_line(&mut x).ok(); let x: Vec = x.trim().split_whitespace().map(|s| s.parse().unwrap()).collect(); let avg: isize = x.iter().sum::() / n as isize; x.iter().for_each(|i| { println!("{}", 50isize - (avg - i) / 2isize); }) }