K,N,F=map(int,input().split()) A=list(map(int,input().split())) beans=K*N eat=sum(A) if beans>=eat: print(beans-eat) else: print(-1)