#include using namespace std; #define rep(i,n) for(int i=0; i<(n); ++i) int main(){ int n; cin >> n; vector x(n); int sum = 0; rep(i,n){ cin >> x[i]; sum += x[i]; } double ave = (1.0 * sum) / n; rep(i,n){ double d = 50 - (ave - x[i])/ 2; cout << floor(d) << endl; } }