import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); double r1=sc.nextDouble(); double r2=sc.nextDouble(); System.out.printf("%.1f",(r1*r2)/(r1+r2)); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); double r1=sc.nextDouble(); double r2=sc.nextDouble(); System.out.printf("%.1f",(r1*r2)/(r1+r2)); } }