#PCBSAU0000018. Diện tích và thể tích (Area and Volume)
Diện tích và thể tích (Area and Volume)
Area and Volume
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given a rectangular box with positive integer length , width and height in centimetres, compute the base area and volume.
Input
One line containing positive integers in length-width-height order.
Output
Print base area on the first line and volume on the second. Do not print units.
Subtask
- Subtask 1 — 100 points: .
Example
Input
2 3 4
Output
6
24
Explanation
The base area is and the volume is .