program a;
var x, y:integer;
r: real;
Begin
readln(x,y);
r:=((exp(3*ln(x)))+(exp(3*ln(y)))/2;
writeln(r);
End.
cHJvZ3JhbSBhOwp2YXIgeCwgeTppbnRlZ2VyOwpyOiByZWFsOwpCZWdpbgogIHJlYWRsbih4LHkpOwogIHI6PSgoZXhwKDMqbG4oeCkpKSsoZXhwKDMqbG4oeSkpKS8yOwogIHdyaXRlbG4ocik7CkVuZC4=