b,bag,f = map(int,input().split()) beans = b*bag ages = list(map(int,input().split())) for age in ages: beans -= age if beans < 0: print(-1) else: print(beans)