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