#include using namespace std; int main() { int n,i,a,p; cin >> n; vector x(n); a=0; for(i=0; i> x[i]; a+=x[i]; } for(i=0; i=a){ cout << 50+((x[i]*n)-a)/(2*n) << endl; }else{ cout << 50-(a-(x[i]*n)+(2*n-1))/(2*n) << endl; } } return 0; }