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