#include <iostream>
using namespace std;
int main()
{
double r,r1,r2;
cin>>r1>>r2;
r=1/(1/r1+1/r2);
cout<<"并联后的阻值"<<r<<endl;
return 0;
}
using namespace std;
int main()
{
double r,r1,r2;
cin>>r1>>r2;
r=1/(1/r1+1/r2);
cout<<"并联后的阻值"<<r<<endl;
return 0;
}