K, N, F = map(int, input().split()) A = list(map(int, input().split())) B = K * N AGE = sum(A) if B - AGE < 0: print(-1) else: print(B - AGE)