Detailed Instructions: In this task, you are given an input list A comprising of numbers and alphabets. You need to extract and sort the unique alphabets in the list. The alphabets in the input list will only be in lowercase. Return -1 if there is no alphabet in the input list.
Problem:['1671', '2349', '9795', 'x', '699', 'y', '709', 'q', '2089', '6105', 'j', 'w', '1761', '9045', 'f', 'w', 'h', '2765', 'n', '8609', '7765', 's', '2825', 'i', '4239', 'v', 'r', 'l', '9863', '8249', 'j', '7833', '8645', '7139', 'u', '8989', '1311', '7149', 'g', 'd']
Solution:
d, f, g, h, i, j, l, n, q, r, s, u, v, w, x, y