Skip to main content
LIVE CONTEST: Round #7 · Begin Marathon is live now! …

~/algor $ cat problems/begin/volume-and-surface-area-of-a-sphere

Volume and surface area of a sphere

Author Iqbolshoh Ilhomjonov 3 @iqbolshoh 650 problems
Medium 1000 ms 64 MB 34%
Share

The radius of a sphere is given. Find its volume and surface area :

Use .

A sphere of radius R

Input

One positive integer .

Output

One line with two numbers: and , each with exactly 2 digits after the decimal point (for example, 4.19).

Note

Examples

Input #1
1
Output #1
4.19 12.57
Input #2
3
Output #2
113.10 113.10

Sign in to submit a solution

Signing up is free and takes a minute.