K, N, F = map(int, input().split()) rem = K * N - sum(map(int,input().split())) print(rem if rem >= 0 else -1)