#include #include using namespace std; int main(){ int N; cin >> N; vector x(N); for (int i = 0; i < N; i++){ cin >> x[i]; } int A = 0; for (int i = 0; i < N; i++){ A += x[i]; } A /= N; for (int i = 0; i < N; i++){ cout << 50 - (A - x[i]) / 2 << endl; } }