Average train speed#5139

Average train speed

1 segundo
128 megabytes
Muy fácil

Find the average speed of the train, if it traveled the first half of the distance at a speed of v_1, and the second half at a speed of v_2.

Entrada

Two integers v_1 and v_2~(1 \le v_1, v_2 \le 10^9).

Salida

Print the average speed of the train with decimal places.

Ejemplos

Ejemplo 1

Loading
Loading

Ejemplo 2

Loading
Loading