import sys input=lambda: sys.stdin.readline().rstrip() n=int(input()) X=[int(i) for i in input().split()] a=sum(X)/n for x in X: print(int(50-(a-x)/2))