Three-digit numbers#581

Three-digit numbers

1 second
64 megabytes
Easy (≈1000)

Find the number of three-digit numbers whose digits are even and the sum of its digits is equal to .

Input

A natural number is given (1 ≤ k ≤ 27)

Output

Find the number of three-digit natural numbers whose digits are even and their sum is equal to .

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Note

In the first example, the three-digit numbers satisfying the condition are: 202, 220, 400