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