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