a,b,c=map(int,input().split()) d=list(map(int,input().split())) if (a*b)-sum(d)>=0: print((a*b)-sum(d)) else: print(-1)