n = int(input()) x = list(map(int,input().split())) ava = sum(x) / n for i in x: print( int (50 - (ava - i) / 2))