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:
['v', 'n', '303', '355', 'n', '205', '393', '239', '239', 'm', '123', '487']
answer:
0, 1, 2, 3, 4, 5, 7, 8, 9


question:
['k', '107', '333', '317', 'm', 'w', 'g', 'f']
answer:
0, 1, 3, 7


question:
['467', 'l', 'r', '23', '457', 'w', 'f', '149', '175', 's', '207', '69', '15', 't']
answer:

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