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:
['499', '493', 'i', '87']
answer:
3, 4, 7, 8, 9


question:
['279', 'y', '391', '33', '281', '113', 'd', 'v']
answer:
1, 2, 3, 7, 8, 9


question:
['y', 'x', '257', '71', '89', '349', 'm', '121', '149', 'r', 's']
answer:

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