n = int(input()) x = list(map(int, input().split())) s = sum(x) for a in x: print(((100 + a) * n - s) // (2 * n))