#include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; int main(){ ll n; cin >> n; vector a(n); double ave = 0; for(int i = 0;i < n;i++){ cin >> a[i]; ave += a[i]; } ave /= n; for(int i = 0;i < n;i++){ double res = (double)(ave - a[i]) / 2; cout << (int)(50 - res) << endl; } }