If p, m and n are prime numbers none of which is equal to the other two what is the greatest common factor of 24pm2n2,9pmn2and36p(mn)3?