Ornaments
Time limit1sMemory limit1024 MB
Given circle radius r, knot distance h, and extra percent s, compute the string length wrapped around the circle, rounded to two decimals.
Problem
A factory is making ornaments for the upcoming holidays. Each ornament is a 2D glass sphere (that is, a circle) designed to hang from a hook or nail by a string tightly wrapped around it, as shown in the figure.

Write a program that calculates the length of the string, given the radius of the circle, the distance from the knot to the center of the circle, and a multiplier for the extra string needed to tie the knot.
Input
The input contains multiple test cases. Each test case is a single line with three integers (1 ≤ ≤ 1000), ( ≤ ≤ 10000), and (0 ≤ ≤ 100). is the extra string needed, in percent. The percentage is relative to the length needed without accounting for the knot, so if , the length must be increased by 1/4.
The input ends with a line containing three zeros.
Output
For each test case, output the length of the needed string, rounded to two decimal places.