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