~/algor $ cat problems/begin-parallelepiped
Rectangular box
Easy
1000 ms
64 MB
8%
The length $a$, width $b$ and height $c$ of a rectangular box (cuboid) are given. Find its volume $V$ and total surface area $S$:
$$V = a * b * c, \qquad S = 2 * (a * b + b * c + a * c)$$
Input
One line with three positive integers: $a$, $b$ and $c$.
Output
One line with two integers: $V$ and $S$.
Note
$1 \le a, b, c \le 10^{5}$
Examples
Input #1
2 3 4
Output #1
24 52
Input #2
1 1 1
Output #2
1 6