Phoenix mall in the capital city of Washington and it is rectangular in shape when it is seen on the map with the size n x m meters. On the occasion of the jubilee anniversary, a decision was taken to pave the Square with square marbles stones. Each stone is of the size n × n.

Can you find what is the least number of stones needed to pave the Square?

It’s allowed to cover the surface larger than the Mall Square, but the Square has to be covered.

It’s not allowed to break the stones. The sides of stones should be side by side(parallel) to the sides of the Square.

**Input:**
The only line of input contains three positive integer numbers n, m and a separated by a space .
**Output:**
Print the needed number of stones.

#include <stdio.h> int main() { int n,m,a; scanf("%d %d %d",&n,&m,&a); int tiles=((m+a-1)/a)*((n+a-1)/a); printf("%d",tiles); return 0; }

**INPUT_1:**

6 6 4

**OUTPUT:**

4

**INPUT_2:**

8 4 4

**OUTPUT:**

2

**Morae Q!**

- Convert seconds to hours – HMS format.
- Find out the tax amount of the bill with tip for the meal.
- Find the area of the pyramid.
- Find the area of triangle using heron’s formula.
- Find the interest and amount resided in the bank.
- Convert the travel days to years and months.
- Find the first three powers of N number.
- Compute the height from feet and inches to centimetres.
- Calculate the amount of interest earned in the bank.
- Find the ways they can choose the sequence of dummy statues.
- Find the Lapindrome strings.
- Classify the salary of a person.
- Find the day on providing the week number.
- Find the least number of marble stones needed to pave the square mall.
- Find the number of steps on chessboard performed to satisfy a condition.
- Find the time, hours and minutes the train was delayed.
- Find the quantity of food packets shared and available.
- Compute all Arithmetic Operations.
- Find the amount to pay for the electricity bill.
- Find the sum of numbers with three values after decimal point.