#include using namespace std; using ll = long long; constexpr char newl = '\n'; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int n; cin >> n; vector x(n); int sum = 0; for (int i = 0; i < n; i++) { cin >> x[i]; sum += x[i]; } for (int i = 0; i < n; i++) { // (100 * n - sum + n * x[i]) / (2 * n) cout << (100 * n - sum + x[i] * n) / (2 * n) << newl; } return 0; }