m,h,f=map(int,input().split()) l=sum(list(map(int,input().split()))) print(max(-l+m*h,-1))