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