stdin.get_s(9K).split(" "){a,b:it.split(" ").map(|v|v.to_f).to_a;%f"%.2f"(a*b/ a+b).p;};