#d2700. 01序列2
01序列2
01 Sequence 2
Problem Description
Here comes everyone's favorite 01-sequence problem again.
This time the problem is very simple. cc thinks that in a 01 sequence there should be at least zeros between any two s. Now he wants to construct a 01 sequence of length . How many different construction methods are there?
This number may be very large, so please output it modulo .
Input Format
A single line containing two integers .
Output Format
One integer: the number of different construction methods.
Sample Input
4 2
Sample Output
6
Constraints