n = int(input()) x = list(map(int, input().split())) a = sum(x) / n for i in range(n): ans = int(50 - (a - x[i]) / 2) print(ans)