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