The Chess Board
You are given a square grid consisting of black and white small squares. This grid can also be represented as a chess board of rows and columns, where each cell consists of small squares of one color. You need to calculate the number of white squares in this grid.
Example of the board for and . 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 — 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
Scoring
( points): ;
( points): ;
( points): is even;
( points): no additional constraints.