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