foreach {a b c} [read stdin] {set l [expr int(sqrt($a*$c/$b))];puts "$l [expr $a/$l] [expr $c/$l]"}