import sys input=lambda: sys.stdin.readline().rstrip() k,n,f=map(int,input().split()) A=[int(i) for i in input().split()] print(max(-1,n*k-sum(A)))