#include #define rep(i, ss, ee) for (int i = ss; i < ee; ++i) using namespace std; using Vd = vector; void solve() { int N, sum = 0; cin >> N; Vd v(N); for (auto &e : v) { cin >> e; sum += e; } double ave = (double)sum / (double)v.size(); rep(i, 0, size(v)) cout << (int)(50 - (ave - v[i]) / 2) << endl; } int main() { cin.tie(0); ios::sync_with_stdio(false); solve(); getchar(); }