Spiral#85

Spiral

1 second
128 megabytes
Very easy
prb85

Numbers from to n^2 are written in an n \times n square matrix in a spiral, starting from the top-left cell and proceeding clockwise, as shown in the figure.

Find the number located in the -th row and -th column.

Input

The input contains three natural numbers: , , (1 \leq i, j \leq n \leq 100).

Output

Print the number at coordinates , .

Examples

Example 1

Loading
Loading