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