Four digit numbers
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
How many four digit numbers are there with sum of digits equals to ?
Input
One integer .
Output
Print the number of four digit numbers with sum of digits equals to .
Examples
There are four digit numbers with sum of digits equals to : .
Input #1
Answer #1
Submissions 576
Acceptance rate 46%