13251 - Deeper learning   

Description

In Minecraft, players can use different kinds of blocks to create various buildings.

 

 

Given 3 integers, A, B, and C, you are asked to answer 2 individual questions about a given valley:

1. A means the target height of the valley, B means the number of blocks in the current valley, and C means the length of each block. How many blocks should we mine to reach the target height A? Note that A is guaranteed to be the multiple of C.

2. A means the length of the valley, B means the width of the valley, and C means the height of the valley. What is the volume V of the valley. Note that different from the question 1, the unit of A, B, C, and V in this question is block.

Input

A, B, C separated by a whitesapce.

(1 <= A, B, C <=1000)

Output

The answer of the 2 questions separated by a whitespace.

Note that you need to print '\n' at the end of the output.

 

Sample Input  Download

Sample Output  Download

Tags




Discuss