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.
Q: ['3109', 'K', '107', '1435', '7667', '9755', 'n', '8775', 'W', '9063', 'T', '8121', 'i', '97', 'h', '6837', 'b', 'h', 'M', '4543', '9083', 'b', '3905', '1597', 'j', 'M', '2971', 'X']
A:
3109, 11, 107, 1435, 7667, 9755, 14, 8775, 23, 9063, 20, 8121, 9, 97, 8, 6837, 2, 8, 13, 4543, 9083, 2, 3905, 1597, 10, 13, 2971, 24