k, n, f = map(int, input().split(" ")) a = mapt(int, input().split(" ")) print(k*n-sum(a))