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