from math import ceil N = int(input()) *A, = map(int, input().split()) avg = sum(A)/N print(*[ceil(50-(avg-a)/2) for a in A])