k,n,f = map(int,input().split()) A = list(map(int,input().split())) ans = k*n - sum(A) if ans < 0: ans = -1 print(ans)