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