// yukicoder No.1131 #include using namespace std; int main() { int n; cin >> n; vector vec(n); int sum = 0; for(int i = 0; i < n; ++i) { cin >> vec[i]; sum += vec[i]; } double avg = sum / n; for(int i = 0; i < n; ++i) { double tmp = (avg - vec[i]) / 2; double ans = 50 - tmp; cout << (int)ans << "\n"; } return 0; }