Two-digit numbers
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
List all two-digit numbers with distinct digits whose digits add up to m.
Input
A natural number m, where 0 ≤ m ≤ 20.
Output
Display the numbers in ascending order on a single line, or print No if no such numbers exist.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 1K
Acceptance rate 37%