stdin.get_s(1K).split(" "){a,b:it.split(" ").map(|v|v.to_f/3).to_a;%f"%.f"(math::sqrt(4*a*a+3*b*b)-a).p;}