Three-digit numbers 2#9992

Three-digit numbers 2

1 second
64 megabytes
Very easy

Determine the sum of all three-digit numbers where each digit is odd and the sum of the digits 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