The International Collegiate Programming Contest (ICPC) is a prestigious contest held all over the world. The competition features questions covering various topics.
Nobita, Shizuka, and Doraemon are very good friends. They were participating in ICPC this year. Shizuka noticed something odd about the envelope containing the problem set — it was triangular in shape. They found it interesting because envelopes are typically rectangular. Shizuka knew the area and base of the envelope and asked Nobita to find the height of the envelope.
Because Nobita isn't great at geometry, he asked Doraemon for help. Doraemon said it was easy and shared some triangle tips. Nobita got the formula and began figuring out the envelope's height.
Now, Nobita wants to verify if his calculation is correct. Nobita gave you the area and base of the triangular envelope. Can you write a program to determine the height of the envelope and assist Nobita in confirming his answers?
Note:
The single line of input contains two Real values - the area of the envelope and - the base of the envelope.
Print a Real value - The height of the envelope. The value calculated must be presented with at least digits after the decimal point.
Input | Output |
---|---|
4.3146 2.3456 | 3.6789 |
Input | Output |
---|---|
23.8073 5.4321 | 8.7654 |
Don’t forget to print newline ‘\n’ and not any extra spaces.