The Chess Board#11693

The Chess Board

1 second
256 megabytes
Very easy

You are given a square grid consisting of n \times n black and white small squares. This grid can also be represented as a chess board of \frac{n}{k} rows and \frac{n}{k} columns, where each cell consists of k \times k small squares of one color. You need to calculate the number of white squares in this grid.

Example of the board for n = 6 and k = 3. As you can see, there are white squares on it. The lighter color is white and the other is black.

Please note that the cell in the first row and the first column is white.

Input

The first line contains two integers and (1 \leq n, k \leq 100) — the size of a grid and each cell respectively. It is guaranteed that is divisible by .

Output

You have to output a single line containing one integer: the number of white squares on a grid.

Examples

Example

Loading
Loading

Example 1

Loading
Loading

Example 2

Loading
Loading

Scoring

  1. ( points): n = 1;

  2. ( points): k = 1;

  3. ( points): \frac{n}{k} is even;

  4. ( points): no additional constraints.