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