TASK DEFINITION: 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.
PROBLEM: ['b', '329', 'm', 'q', 'k', 'z', 'k', '199', 'v', 'l']

SOLUTION: 1, 2, 3, 9

PROBLEM: ['t', '251', 'b', '241', 'z', '255']

SOLUTION: 1, 2, 4, 5

PROBLEM: ['175', '107', 'p', 'j', 'l', 'w', 'e', 'u', 'r', 'n']

SOLUTION:
0, 1, 5, 7