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