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