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:
['c', '155', '61']
answer:
1, 5, 6


question:
['7', 'u', 's', '75', 't', 'o']
answer:
5, 7


question:
['i', 'h', '465', '387', '309', '53', '239']
answer:

0, 2, 3, 4, 5, 6, 7, 8, 9


