K,N,F=map(int,input().split()) A=list(map(int,input().split())) print(K*N-sum(A))