#include using namespace std; #define ll long long #define endl "\n" #define rep(i, a, n) for (int i = a; i < n; ++i) int main() { int n; cin >> n; int sum = 0; vector x(n); rep(i, 0, n) { int a; cin >> a; x[i] = a; sum += a; } double ave = (double)sum / n; rep(i, 0, n) { int d = 50 - (ave - x[i]) / 2; cout << d << endl; } return 0; }