from math import floor N = int(input()) X = list(map(int,input().split())) A = sum(X)/N for x in X: print(floor(50 - (A-x)/2))