Definition: 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.
Input: ['B', '1627', 'd', '6387', 'f', 'z', 'C', 'w', 'q', '8715', '1425', '8965', '7023', 'e', '6325', 'H', 'i', 'T', 'O', 'L', '2717', 'a', 'Y']

2, 1627, 4, 6387, 6, 26, 3, 23, 17, 8715, 1425, 8965, 7023, 5, 6325, 8, 9, 20, 15, 12, 2717, 1, 25