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