2016 North American Practice Contest 2

Start

2016-10-02 19:00 CEST

2016 North American Practice Contest 2

End

2016-10-03 00:00 CEST
The end is near!
Contest is over.
Not yet started.
Contest is starting in -721 days 18:03:14

Time elapsed

5:00:00

Time remaining

0:00:00

Problem G
Pizza Crust

/problems/pizza2/file/statement/en/img-0001.jpg
Photo by cyclonebill.

George has bought a pizza. George loves cheese. George thinks the pizza does not have enough cheese. George gets angry.

George’s pizza is round, and has a radius of $R$ cm. The outermost $C$ cm is crust, and does not have cheese. What percent of George’s pizza has cheese?

Input

The input consists of a single line with two space separated integers, $R$ and $C$.

Output

Output the percentage of the pizza that has cheese. Your answer must have an absolute or relative error of at most $10^{-6}$.

Limits

  • $1 \leq C \leq R \leq 100$

Sample Input 1 Sample Output 1
1 1
0.000000000
Sample Input 2 Sample Output 2
2 1
25.000000