fu,mame,hito=map(int,input().split()) lshito=[] lshito=list(map(int,input().split())) mamesum=fu*mame hitosum=sum(lshito) if(mamesum>=hitosum): print(mamesum-hitosum) else: print(-1)