a,b,c=map(int,input().split()) n=list(map(int,input().split())) ans=a*b sum_a=sum(n) if sum_a<=ans: print(ans-sum_a) else: print(-1)