Given the lengths $$a$$ and $$b$$ of the rectangle sides of a right triangle, calculate the length $$c$$ of the hypotenuse. Remember a certain Pythagoras and his famous theorem: $$a^2 + b^2 = c^2$$?

Input

Two real numbers, each on a separate line, representing the length of the rectangle sides of a right triangle.

Output

The length of the hypotenuse of the right triangle.

Example

Input:

1234.4321
666.666

Output:

1402.94909568