from sys import stdin input = stdin.readline n = int(input()) x = list(map(int, input().split())) for i in x: print(int(50-(sum(x)/n-i)/2))