Skip to main content

~/algor $ cat contests/round-7/K

K. Rectangular box

Problem K ICPC rules 1000 ms 64 MB

The length , width and height of a rectangular box (cuboid) are given. Find its volume and total surface area :

A rectangular box: length a, width b, height c

Input

One line with three positive integers: , and .

Output

One line with two integers: and .

Note

Examples

Input #1
2 3 4
Output #1
24 52
Input #2
1 1 1
Output #2
1 6

Sign in to submit a solution

Signing up is free and takes a minute.