#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; long double x[100010]; int main() { long double n; cin >> n; long double sum = 0; for (int i = 0; i < n; i++) { cin >> x[i]; sum += x[i]; } sum /= n; for (int i = 0; i < n; i++) { cout << floor(50 - (sum - x[i]) / 2) << endl; } return 0; }