import sys input = sys.stdin.readline N = int(input()) x = list(map(int, input().split())) S = sum(x) for xi in x: print((100*N-S+N*xi)//(2*N))