k,n,f = map(int, raw_input().split()) s = sum(map(int, raw_input().split())) if k*n < s: print -1 else: print k*n-s