p:math::pow;stdin.get_s(1K).split(" "){a:0;it.split(" "){a+=p(it.to_i,2/3.0);};%f"%.f"(p(a,1.5)).p;}