k,n,f = map(int,input().split(' ')) a = list(map(int,input().split(' '))) a_sum = sum(a) if k * n >= a_sum: print(k * n - a_sum) else: print(-1)