Three-digit numbers 7
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Output all three-digit palindromes where the sum of the digits equals m. A palindrome is a sequence that reads the same forwards and backwards.
Input
A natural number m, where 1 ≤ m ≤ 27.
Output
List the numbers in ascending order on a single line, or output No if no such numbers exist.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 307
Acceptance rate 62%