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:
['255', 'u', 's', 'g', '445']
answer:
2, 4, 5


question:
['s', '443', '239', 't', '99']
answer:
2, 3, 4, 9


question:
['k', 'g', '207', 'y', '91', '367', 'w', 't', 'y']
answer:

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