Competitions
PP1 Week 1 Introduction Part 2
Surface area and volume
Find the surface area and volume of the rectangular parallelepiped by its dimensions.
Input
The lengths of edges of rectangular parallelepiped a, b and c (a, b, c ≤ 106
).
Output
Print the surface area and volume of the rectangular parallelepiped.
Input example #1
2 3 4
Output example #1
52 24