eolymp
Competitions

PP1 Week 1 Introduction Part 2

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
Source "ABC programming"