Sequential Digits

easy
An integer has sequential digits if and only if each digit in the number is one more than the previous digit.

Return a sorted list of all the integers in the range [low, high] inclusive that have sequential digits.

 

Input Format

low integer high integer

Output Format

List<Integer>

Constraints

10 <= low <= high <= 10^9

Notice

NA

Example

Input
10
100
Output
12 23 34 45 56 67 78 89 
Previous
Trapping Rain Water - 2
Next
Word Search

Related Questions