#include <stdio.h> int main() { int a, b; float r0; scanf("%d%d",&a,&b); r0=1.0/(1.0/a+1.0/b); printf("%f\n",r0); return 0; }