a,b,c = map(int, raw_input().split()) mame = sum(map(int, raw_input().split())) amari = a * b if (a * b < mame): print -1 else: print a * b - mame