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