K,N,F = map(int,input().split()) A=input().split() M =[int(s) for s in A] bean = K * N S = bean - sum(M) if S < 0: print(-1) else: print(S)