#include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; int main() { int N; cin >> N; int S = 0; vector xs; for (int i = 0; i < N; ++i) { int x; cin >> x; xs.push_back(x); S += x; } for (int i = 0; i < N; ++i) { cout << (100 * N - S + N*xs[i])/(2*N) << endl; } }