eolymp
bolt
Try our new interface for solving problems
Problems

Surface area and volume

Surface area and volume

Time limit 1 second
Memory limit 128 MiB
Image 2.jpg

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

Input data

The lengths of edges of rectangular parallelepiped a, b and c (a, b, c10^6).

Output data

Print the surface area and volume of the rectangular parallelepiped.

Examples

Input example #1
2 3 4
Output example #1
52 24
Source "ABC programming"