// 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) { int tmp = 50 - (avg - vec[i]) / 2; cout << tmp << "\n"; } return 0; }