K, N, F = map(int, input().split()) A = list(map(int, input().split())) s = sum(A) print(max(-1, K*N-s))