K,N,F = map(int, input().split()) S = K * N - sum(map(int, input().split())) print(max(S,-1))