Ms. Evans has decided to spice up her daily commute by traveling to work on a pogo stick. The sidewalk on her path to work is composed of concrete tiles () numbered from to . Ms. Evans starts at tile and wants to end at tile . Her pogo stick has power (), which means that if she is at tile , she can travel to any tile such that .
Ms. Evans doesn't want to visit any tile more than once, since that would be boring. However, she enjoys jumping so much that she wants to make the maximum number of jumps possible. Please calculate the number of ways she can travel to work while fulfilling the above constraints. Since this number may be very large, you should output it modulo .
|Portion of marks||Constraints on||Constraints on|
A single line containing and .
A single line containing the answer.