foreach a\ b [read stdin] {puts [expr round(pow(pow($a,2/3.)+pow($b,2/3.),1.5))]}