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