read=lambda :map(int,input().split()) k,n,f=read() print(k*n-sum(read()))