BETA
This is a school problem. Successful submissions of this are not counted in user ratings.

Submissions : 1013 Accuracy :

48.08

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 Examples Use Expected Output**


Set Default Code

					   
Result:
It is recommended to test your code before clicking 'Submit' button!



                   



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