#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; cout<<1.0/(1.0/a+1.0/b); return 0; }