k,n,f=map(int,input().split()) arr=list(map(int,input().split())) add=sum(arr) if k*n