#include #define rep(i, ss, ee) for (int i = ss; i < ee; ++i) using namespace std; using Vd = vector; void solve() { int N; cin >> N; Vd v(N); for (auto &e : v) cin >> e; double ave = accumulate(v.begin(), v.end(), 0) / (double)N; for (auto e : v) cout << int(50 - (ave - e) / 2) << "\n"; } int main() { cin.tie(0); ios::sync_with_stdio(false); solve(); }