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