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