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