K, N, F = (int(i) for i in input().split()) A = [int(i) for i in input().split() if i <= N] print(K * N - sum(A) if len(A) >= F else -1)