import statistics n=int(input()) a=list(map(int,input().split())) s=statistics.mean(a) for i in a: print(int(50+(i-s)/2))