K,N,F = map(int,input().split()) beans_num = K*N A = map(int,input().split()) for n in A: beans_num -= n print(-1 if beans_num < 0 else beans_num)