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', 't', '189', 'j', 'r']
answer:
1, 8, 9


question:
['43', 'n', 's', '453', 'c', '205']
answer:
0, 2, 3, 4, 5


question:
['445', '297']
answer:

2, 4, 5, 7, 9