#include #define rep(i, x) for(ll i = 0; i < x; i++) #define rep2(i, x) for(ll i = 1; i <= x; i++) #define all(a) (a).begin(),(a).end() using ll = long long; using ld = long double; using namespace std; signed main() { ll n; ld ave = 0; cin >> n; vector v(n); rep(i, n) { cin >> v[i]; ave += v[i]; } ave /= n; rep(i, n) { cout << (ll)(50 - ((ave - v[i]) / 2)) << endl; } return 0; }