#MTH000000019. Vùng đất công lý (The Land of Justice)
Vùng đất công lý (The Land of Justice)
The Land of Justice
Source: UVa
Version: Phuoc Hung OJ Extended
Problem Statement
In a certain country, the selling unit of an object is its surface area rather than its volume.
A businessman buys a complete solid sphere and divides it into equal parts. Every cut passes through an axis of the sphere, so all parts are equal spherical wedges. The cuts create new planar surfaces, making the total surface area of the sold pieces larger than the original sphere's surface area.
Compute the profit percentage caused by this added surface area. When , the sphere is not cut and the profit is .
Input
One positive integer .
Output
Print the profit percentage rounded to the nearest integer, followed by %.
Subtasks
- Subtask 1 (20%): .
- Subtask 2 (30%): .
- Subtask 3 (50%): Full constraints: .
Examples
Input
2
Output
50%
Explanation
For , the cut creates a total additional planar area of . The original sphere has surface area . Therefore the percentage increase is
Hence the program prints 50%.