K, N, F = map(int, input().split()) S = sum(list(map(int, input().split()))) print(K*N - S if S <= K*N else'-1')