#include #define rep(i,s,n) for (int i = s; i < (n); ++i) using namespace std; using ll = long long; using P = pair; using field = vector>; int main() { ll n; cin >> n; vector x(n); ll a = 0; rep(i,0,n) {cin >> x[i]; a += x[i];} rep(i,0,n) { ll ans = n * (100 + x[i]) - a; ans /= 2*n; cout << ans << endl; } return 0; }