#include using namespace std; int main() { int N; cin >> N; vector x( N ); for( int i = 0; i < N; i++ ) { cin >> x[i]; } double sum = 0; for( int i = 0; i < N; i++ ) { sum += x[i]; } double A = sum / N; for( int i = 0; i < N; i++ ) { int D = 50 - (A - x[i]) / 2; cout << D << endl; } }