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