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:
['s', 'y', '133', 'c', '415', 'p']
answer:
1, 3, 4, 5


question:
['i', 'e', '17', 'q', '15', 'v']
answer:
1, 5, 7


question:
['q', '329', 'o', 'u', 'v', '353', 'z', '249', 'm', 'q', '91', 'u']
answer:

1, 2, 3, 4, 5, 9