K,N,F=map(int,raw_input().split()) A=map(int,raw_input().split()) s=0 for i in xrange(F): s+=A[i] if K*N