Competitions

# PP1 Week 3 Contest 1

# Numbers with different digits

Print all four digit numbers from **a** to **b** with different digits.

#### Input

Two integers **a** and **b** (**1000** ≤ **a** ≤ **b** ≤ **9999**).

#### Output

Print in one line all numbers from **a** to **b** with different digits.

Input example #1

2000 2015

Output example #1

2013 2014 2015

Input example #2

9875 9999

Output example #2

9875 9876