eolymp
bolt
Try our new interface for solving problems
Problems

How many ways?

How many ways?

Time limit 1 second
Memory limit 64 MiB

From the known amount of assessments, as well as the number of subjects - to determine how many ways you can get the same amount of points, provided that valid estimates are 8, 9 and 10. Of course, two ways are considered different if they differ by assessing at least one subject.

Reply to mod1000007.

Input data

The input file two integers n and m (1n100, m1000). The first of these - the number of subjects, and the second - the amount of points.

Output data

The output file a single number - the answer of the problem.

Examples

Input example #1
2 19
Output example #1
2