K, N, F = map(int, input().split()) A = list(map(int, input().split())) B = K*N C = 0 for i in A: C = C + i if C > B: print(-1) else: print(B-C)