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