A set is called a good set if every element is a positive integer not exceeding
Find the number of good sets modulo
Constraints
Subtask 1 [10%]
Subtask 2 [30%]
Subtask 3 [60%]
No additional constraints.
Input Specification
The only line contains two space-separated integers,
Output Specification
Output the number of good sets modulo
Sample Input
Copy
4 3
Sample Output
Copy
6
Explanation for Sample
The good sets are
Comments