K, N, F = map(int, input().split()) A = sum(list(map(int, input().split())))#必要な豆 T = K * N #豆の合計 if T < A: print(-1) else: print(T - A)