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