k,n,f=map(int,input().split()) a=list(map(int,input().split())) if k*n