#include int main() { int n; int x[100000]; int sum = 0; int i; double a; double d; scanf("%d", &n); for(i = 0; i < n; i++) { scanf("%d", &x[i]); } for(i = 0; i < n; i++) { sum = sum + x[i]; } a = (double)sum / (double)n; for(i = 0; i < n; i++) { d = (double)50 - (((double)a-(double)x[i]) / (double)2); printf("%.0f\n", d); } return 0; }