Skip to main content

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

AD. Cylinder

Problem AD ICPC rules 1000 ms 64 MB

The base radius and height of a cylinder are given. Find its volume and total surface area (the total surface is the two bases plus the lateral surface):

Use .

A cylinder: base radius r, height h

Input

One line with two positive integers: and .

Output

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

Note

Examples

Input #1
1 1
Output #1
3.14 12.57
Input #2
2 5
Output #2
62.83 87.96

Sign in to submit a solution

Signing up is free and takes a minute.