Tiger likes not only to find the sum of digits, but also to represent numbers in the form of a square matrix of size N \times N. The matrix is filled with consecutive numbers starting from . The filling process proceeds clockwise, simultaneously in two directions: one from the upper-left corner and one from the lower-right corner.

While filling the matrix, Tiger wonders what number is at the intersection of the -th row and the -th column.
Three integers are given, separated by spaces: (1 \leq N \leq 10^9) — the size of the matrix, and , (1 \leq I, J \leq N) — the row and column numbers.
Output the number located at the intersection of the -th row and the -th column.
Example 1