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.
Q: ['5195', 'f', '2871', '745', '3795', '9917', 'f']
A:
f