BETA
School Problem's Submission isn't counted in score!

Total Submissions: 1101 Accuracy:

48.96%

Surface Area and Volume of Cuboid
     

Write a program to calculate the total surface area and volume of cuboid.

Input:

The first line of the input contains T denoting the number of testcases. Each of the next T lines contains three space separated positive integers L, B, H denoting the length, width and height of cuboid respectively.


Output:

For each testcase, output two space separated integers denoting surface area and volume of cuboid respectively.


Constraints:

1<=T<=100
1<=l,b,h<=1000

Example:

Input:
1
1 2 3

Output:
22 6

** For More Input/Output Examples Use 'Expected Output' option **

Set Default Code

					   
It is recommended to 'Compile & Test' your code before clicking 'Submit'!

Compilation/Execution Result:

Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.