Four-digit numbers#11652

Four-digit numbers

1 second
128 megabytes
Easy

Find the number of four-digit numbers with sum of digits equal to .

Input

One integer n~(0 \le n \le 36).

Output

Print the number of four-digit numbers with sum of digits equal to .

Examples

There are four-digit numbers with sum of digits equal to : 1001, 1010, 1100, 2000.

Example 1

Loading
Loading