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