K,N,F = map(int, input().split()) #K: 粒/袋, N: 袋の数, F: 家族の人数 A = list(map(int, input().split())) beans = K*N ages = sum(A) if beans < ages: print(-1) else: print(beans - ages)