# include # define rep(i, n) for(int i=0, i##_len=(n); i=0; --i) # define rreps(i, n) for(int i=((int)(n)); i>0; --i) # define range_for(i, b, e) for(int i=(b), i##_len=(e); i inline constexpr Type Square(Type x) { return x * x; } template inline constexpr bool InRange(const Type& x, const Type& fst, const Type& lst) { return (fst <= x) && (x < lst); } template inline bool chmax(Integer &a, Integer b) { return a < b && (a = b, true); } template inline bool chmin(Integer &a, Integer b) { return a > b && (a = b, true); } templatebool IsOdd(Integer &n) { return n & 1; } templatebool IsEven(Integer &n) { return !(n & 1); } long long gcd(long long a, long long b) { while(b){ long long A = a; (a = b), (b = A % b); } return a; } long long lcm(long long a, long long b) { return a / gcd(a, b) * b; } int ctoi(const char c) { return ('0' <= c && c <= '9') ? (c - '0') : -1; } string YesNo(bool b) { return b ? "Yes" : "No"; } string YESNO(bool b) { return b ? "YES" : "NO"; } string yesno(bool b) { return b ? "yes" : "no"; } void _cin(){} template void _cin(Head&& head, Tail&&... tail){ cin >> head; _cin(forward(tail)...); } #define Cin(Type, ...) Type __VA_ARGS__; _cin(__VA_ARGS__) #define Cinv(Type, xs, n) vector xs(n); rep(i, n) cin >> xs[i] #define Cinv2(Type, xs, ys, n) vector xs(n), ys(n); rep(i, n) cin >> xs[i] >> ys[i] #define Cinv3(Type, xs, ys, zs, n) vector xs(n), ys(n), zs(n); rep(i, n) cin >> xs[i] >> ys[i] >> zs[i] #define Cinvv(Type, xs, h, w) vector> xs(h, vector(w)); rep(i, h) rep(j, w) cin >> xs[i][j] void Print() { cout << endl; } template void Print(Head&& head, Tail&&... tail) { cout << head; if (sizeof...(tail) != 0) cout << " "; Print(forward(tail)...); } template void Print(vector &vec) { for (auto& a : vec) { cout << a; if (&a != &vec.back()) cout << " "; } cout << endl; } template void Print(vector> &df) { for (auto& vec : df) { Print(vec); } } void Debug() { cerr << endl; } template void Debug(Head&& head, Tail&&... tail) { cerr << head; if (sizeof...(tail) != 0) cerr << " "; Debug(forward(tail)...); } template void Debug(vector &vec) { for (auto& a : vec) { cerr << a; if (&a != &vec.back()) cerr << " "; } cerr << endl; } template void Debug(vector> &df) { for (auto& vec : df) { Debug(vec); } } signed main() { Cin(int, N); Cinv(int, xs, N); float A = accumulate(ALL(xs), 0.0) / N; for_each(ALL(xs), [=](int x) { Print(floor(50.0 - (A - x) / 2.0)); }); return 0; }