K, N, F = [int(x) for x in input().split()] A = [int(x) for x in input().split()] ans = K * N - sum(A) print( ans if ans >= 0 else -1)