#include using namespace std; int main() { int n; cin >> n; vector vt(n); for (int i = 0; i < n; ++i) { cin >> vt[i]; } auto ave = accumulate(vt.begin(), vt.end(), 0) / (double) n; for (int i = 0; i < n; ++i) { cout << (int) (50 - (ave - vt[i]) / 2) << endl; } return 0; }