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