#include #define PI 3.14159265359 using namespace std; const int64_t MOD = 1e9 + 7; int main() { double N; cin >> N; vector v(N); double A = 0; for (int i = 0; i < N; i++) { cin >> v.at(i); A += v.at(i); } A /= N; for (int i = 0; i < N; i++) { int n = 50 - (A - v.at(i)) / 2; cout << n << endl; } }