eolymp
bolt
Try our new interface for solving problems
Problems

N-unit numbers - 2

N-unit numbers - 2

Find the number of n-digit positive integers witch sum of digits equals to m.

Input

Two integers n and m (1n100, 1m900).

Output

Print the required amount of numbers.

Time limit 1 second
Memory limit 128 MiB
Input example #1
2 10
Output example #1
9