Three-digit numbers#9991

Three-digit numbers

1 second
64 megabytes
Very easy

Determine the number of three-digit numbers where the digits are in strictly increasing order and their sum equals .

Input

A natural number , where 1 \le m \le 27.

Output

A single integer representing the solution to the problem.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading