N=int(input()) *X,=map(int,input().split()) S=sum(X) for x in X: print((100*N+N*x-S)//(2*N))