k,n,f = map(int,input().split()) t = sum(list(map(int,input().split()))) if t > k*n: print(-1) else: print(k*n - t)