A sweep rowing is a type of academic rowing where each athlete paddles with one oar to the left or the right of the boat.
The rowing team consists of
- the number of athletes rowing on the left (L-rowers) should be the same as the number of athletes rowing on the right (R-rowers);
- the sum of the numbers of L-rowers should be equal to the sum of the numbers of R-rowers.
For example, if
Your task is to find the number of ideal arrangements for a given
The input contains one integer
Print the number of different ideal arrangements modulo
1
0
2
2