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