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