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