Skip to main content

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

AG. Distance between two points

Problem AG ICPC rules 1000 ms 64 MB

Two points on the plane are given: and . Find the distance between them:

Two points on the coordinate plane and the distance d between them

Input

One line with four integers: , , and .

Output

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

Note

Examples

Input #1
0 0 3 4
Output #1
5.000
Input #2
1 1 1 1
Output #2
0.000

Sign in to submit a solution

Signing up is free and takes a minute.