k,n,f=map(int,input().split()) a=input().split() s=0 for i in a: s+=int(i) if k*n