import numpy k,n,f=map(int,input().split()) l=list(map(int,input().split())) sum_y=numpy.sum(l) sum_b=int(k)*int(n) if sum_b