#include #define int long long #define double long double using namespace std; const int MOD = 1000000007; const int INF = 1e14; using Graph = vector>; signed main(){ int N; cin >> N; vector X(N); int T = 0; for( int i = 0; i < N; i++ ){ cin >> X[i]; T += X[i]; } T /= N; for( int i = 0; i < N; i++ ){ cout << 50-((T-X[i])/2) << endl; } }