m@main=getLine>>=putStrLn.f.map read.words>>m f[x,y,z]=unwords[show$floor$sqrt(x*y*z)/a|a<-[y,z,x]]