instruction:
In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
question:
['3', '181', 'o', '425', 'f', '391']
answer:
1, 2, 3, 4, 5, 8, 9


question:
['101', '473', '25', 'i', '117']
answer:
0, 1, 2, 3, 4, 5, 7


question:
['335', '311', '179', '405', '101', 'q', 'n', 'v', 'r', '293', 'x', 'q']
answer:

0, 1, 2, 3, 4, 5, 7, 9