import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines K,N,F,*A = map(int,read().split()) answer = K * N - sum(A) if answer < 0: answer = -1 print(answer)