e-olymp
Competitions

PP2. Week 3: March 15 - 21

Surface area and volume

Find the surface area and volume of the rectangular parallelepiped by its dimensions. Image 2.jpg

Input

The lengths of edges of rectangular parallelepiped a, b and c (a, b, c106).

Output

Print the surface area and volume of the rectangular parallelepiped.

Time limit 1 second
Memory limit 128 MiB
Input example #1
2 3 4
Output example #1
52 24
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"