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