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