In this task, you are given an input list A. You need to convert all the alphabets in the list with a number representing their position in the English alphabet. E.g., replace A by 1, B by 2, a by 1, b by 2, and so on.
One example is below.
Q: ['8129', 'a', '4245', '2391', 'Y', '7569']
A: 8129, 1, 4245, 2391, 25, 7569
Rationale: Here, the alphabets in the list are 'a' and 'Y', hence we replace them by their positions in the English alphabet '1' and '25', respectively in the input list to get '8129, 1, 4245, 2391, 25, 7569'.
Q: ['5255', 'h', 'j', 'z', '5995', '6609', '9295', '1631', 'T', '7127', '8415', '9183', '8259', '2899', 'C', 's', 'G', 'F', 'g', 'g', '9787', 'h', 'P', '6109', 'I', '8343', 'E', '9975', 'O', '7483', '3589', '2333', 'M', '4905', 'K', 'q', 'J', '4147', '75', 'Q']
A:
5255, 8, 10, 26, 5995, 6609, 9295, 1631, 20, 7127, 8415, 9183, 8259, 2899, 3, 19, 7, 6, 7, 7, 9787, 8, 16, 6109, 9, 8343, 5, 9975, 15, 7483, 3589, 2333, 13, 4905, 11, 17, 10, 4147, 75, 17