#include int main() { int n; scanf("%d", &n); int i; int x[100005]; for (i = 0; i < n; i++) scanf("%d", &x[i]); int sum = 0; for (i = 0; i < n; i++) sum += x[i]; for (i = 0; i < n; i++) { if (x[i] % 2 > 0) { if (2 * sum / (2 * n) % 2 > 0) printf("%d\n", 50 + x[i] / 2 - (sum + 2 * n - 1) / (2 * n)); else printf("%d\n", 50 + x[i] / 2 - sum / (2 * n)); } else printf("%d\n", 50 + x[i] / 2 - (sum + 2 * n - 1) / (2 * n)); } return 0; }