Skip to main content

~/algor $ cat contests/round-7/AF

AF. Hypotenuse

Problem AF ICPC rules 1000 ms 64 MB

The legs and of a right triangle are given. Find the hypotenuse :

A right triangle: legs a and b, hypotenuse c

Input

One line with two positive integers: and .

Output

One number — , with exactly 3 digits after the decimal point (for example, 5.000).

Note

Examples

Input #1
3 4
Output #1
5.000
Input #2
1 1
Output #2
1.414

Sign in to submit a solution

Signing up is free and takes a minute.