x, y, ct = map(int,input().split()) lst = [int(i) for i in input().split()] res = x * y - sum(lst) if res < 0 : print('-1') else : print(res)