import numpy as np N = int(input()) x = tuple(map(int, input().split())) ave = np.average(x) for xi in x: print(int(50-(ave-xi)/2))