#include <iostream> #include <cstdio> #include <cstring> using namespace std; int main() { double a, b; cin >> a >> b; printf("%.2lf", 1 / (1 / a + 1 / b)); return 0; }