Pirouettes
시간 제한1초메모리 제한1024 MB
2N개의 내부 정수 점 중 K개에 장애물을 놓을 때, 공이 T번 단위 이동으로 장애물과 벽에 튕기며 시작점 0으로 돌아오는 배치의 수를 센다.
문제

Given an integer , consider a room of length represented as an interval . In the center of the room, there's initially a ballerina called Costelina Salopeta. She's about to perform dancing steps of length , the first one being to the right. In the points of integer coordinates in the room you can place obstacles. When the ballerina reaches an obstacle, she trips and performs a pirouette. This way, she changes moving direction and the obstacle disappears.
You are not allowed to add an obstacle at coordinates , or . The walls of the room at coordinates and are considered to be permanent obstacles, that are never going to disappear, and the point of coordinate is the initial position of Costelina.
Given the values of , and , compute the number of ways of placing obstacles, such that after steps Costelina will end back in the starting point .
입력
The first line contains integers , and .
출력
Output a single integer representing the answer modulo .
제한
- , is even