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