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: ['43', 'n', 's', '453', 'c', '205']

SOLUTION: 0, 2, 3, 4, 5

PROBLEM: ['345', '393', 'v', 'l', 'b', 'd', 'k', 'q', 'x']

SOLUTION: 3, 4, 5, 9

PROBLEM: ['g', 'n', 'v', 'g', '465']

SOLUTION:
4, 5, 6