import std.stdio;void main(){for(float a,b;~scanf("%f%f",&a,&b);)writef("%.2f ",a*b/(a+b));}