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