K, N, F = map(int, input().split()) A = list(map(int, input().split())) R = K * N for a in A: R -= a if R < 0: R = -1 break print(R)