Three-digit numbers 2
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Determine the sum of all three-digit numbers where each digit is odd and the sum of the digits equals m.
Input
A natural number m, where 1 ≤ m ≤ 27.
Output
A single integer representing the solution to the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 536
Acceptance rate 47%