- Time limit: 1.00 s
- Memory limit: 512 MB
Your task is to count the number of ways bishops can be placed on an chessboard so that no two bishops attack each other.
Two bishops attack each other if they are on the same diagonal.
Input
The only input line has two integers and : the board size and the number of bishops.
Output
Print one integer: the number of ways modulo .
Constraints
Example
Input:
5 4
Output:
2728