K,N,F=map(int,input().split()) a=list(map(int, input().split())) S=0 for i in range(len(a)): S+=a[i] i=i+1 M=0 M=K*N-S print(M)