|All-time Popular Problems|
|Construct Tree from Inorder & Preorder|
|Sum of two large numbers|
|Level order traversal in spiral form|
|Spirally traversing a matrix|
|Angle between hour and minute hand|
|Binary Tree to DLL|
|Smallest Positive missing number|
|Height of Binary Tree|
|Largest Number formed from an Array|
Write a program to calculate the total surface area and volume of cuboid.
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.
For each testcase, output two space separated integers denoting surface area and volume of cuboid respectively.
1 2 3