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