import math import sys #print('生徒数') n = int(input()) #print(n) #print('点数') x = input() x_list = x.split() #print(x_list) x_intlist = [int(s) for s in x_list] #print(x_intlist) A = sum(x_intlist) / n for p in x_intlist: d = 50 - (A-p) / 2 print(math.floor(d))