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