k,n,f = map(int,input().split()) an = list(map(int,input().split())) print(k*n-sum(an))