Skip to main content

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

AC. Area of a ring

Problem AC ICPC rules 1000 ms 64 MB

The radii and of two circles with a common centre are given, . Find the area of the ring between them:

Use .

Two circles with a common centre, radii R and r; the ring between them is shaded

Input

One line with two positive integers: and .

Output

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

Note

Examples

Input #1
2 1
Output #1
9.42
Input #2
10 5
Output #2
235.62

Sign in to submit a solution

Signing up is free and takes a minute.