- Time limit: 1.00 s
- Memory limit: 512 MB
There are children and apples that will be distributed to them. Your task is to count the number of ways this can be done.
For example, if and , there are ways: , , , , and .
Input
The only input line has two integers and .
Output
Print the number of ways modulo .
Constraints
Example
Input:
3 2
Output:
6