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:
['25', 'b', '455', 'n', '305', '271']
answer:
0, 1, 2, 3, 4, 5, 7


question:
['p', 't', '211', 'r', '439', 'h', 'g', 'c', '299', '371']
answer:
1, 2, 3, 4, 7, 9


question:
['83', 'x', '409', '181', '205', '115', 'b', 'l', '167', 'p', '277', 'w', '79', '81']
answer:

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