FUCT_IF_CYLINDER - Geometric cylinder

cylinder

Enter the radius and the height of the cylinder that named r and h. Calculate the volume and total surface area of the cylinder.

Input

The first line of the input consist of a single integer number t which determines the number of tests.

In each of next t lines will contain the radius r and the height h that separated by a space.

Constraints

  • 0 < t ≤ 1 000

Output

For each test case print out volume and total surface area that separated by a space. Separate your answers with a new line character.

Example

Input:
5
1 1
8 -2
4 10
0 7
12 18

Output:
3.14 12.56
the height of cylinder must be greater than 0
502.40 351.68
the radius of cylinder must be greater than 0
8138.88 2260.80

Added by:khanhvh
Date:2018-06-19
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:C NCSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG JULIA PYTHON PYPY3
Resource:FPTU Can Tho

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.