IntermediateRating 1300
Dice Sums
Count the ways to get total t by throwing n six-sided dice (order matters), mod 1 000 000 007.
Input
n t (n ≤ 100, t ≤ 600).
Output
A count.
Sample 1
Input
2 7
Output
6
Sample 2
Input
1 7
Output
0
Output appears here