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