eolymp
bolt
Try our new interface for solving problems
Problems

The amount of n-digit numbers

The amount of n-digit numbers

Time limit 1 second
Memory limit 128 MiB

Two integers n and m are given.

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

Input data

Two integers n and m (1n9, 1m81).

Output data

Print the amount of required numbers.

Examples

Input example #1
2 10
Output example #1
9