#include <stdio.h> int main() { double r1,r2; scanf("%lf %lf",&r1,&r2); double r = 1.0/r1+1.0/r2; printf("%.1lf",1.0/r); return 0; }