{"raw_statement":[{"iden":"statement","content":"When two resistors with resistances _a_ and _b_ are parallel in an electronic circuit, their equivalent resistance is calculated as (_a_ * _b_) / (_a_ + _b_). Given the resistances of two resistors, calculate their equivalent resistance.\n\nThe first line of input contains a single positive integer _a_: the resistance of the first resistor. The second line of input contains a single positive integer _b_: the resistance of the second resistor.\n\nOutput a single positive decimal number _r_: the equivalent resistance of the two resistors, calculated using the above formula.\n\n"},{"iden":"input","content":"The first line of input contains a single positive integer _a_: the resistance of the first resistor. The second line of input contains a single positive integer _b_: the resistance of the second resistor."},{"iden":"output","content":"Output a single positive decimal number _r_: the equivalent resistance of the two resistors, calculated using the above formula."},{"iden":"examples","content":"Input60\n40\nOutput24.0\nInput80\n70\nOutput37.333333333333336\n"}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ a, b \\in \\mathbb{R}^+ $ denote the resistances of two resistors.\n\n**Objective**  \nCompute the equivalent resistance $ r $ when connected in parallel:  \n$$\nr = \\frac{a \\cdot b}{a + b}\n$$","simple_statement":"Given two resistors with resistances a and b, their parallel equivalent resistance is (a * b) / (a + b). Calculate and output this value.","has_page_source":false}