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: ['g', 'm', 'w', '6497', '2973', 'H', 'h', '5129', 'k', 'M', '9667', '373', '1211', 'd', '4387', 'q', 'H', '5821', 'L', '6597', '213', '1697', '1437', '7645', 'a', '5071', 'N', '8361', '1907', '2359', '9329', 'W']

7, 13, 23, 6497, 2973, 8, 8, 5129, 11, 13, 9667, 373, 1211, 4, 4387, 17, 8, 5821, 12, 6597, 213, 1697, 1437, 7645, 1, 5071, 14, 8361, 1907, 2359, 9329, 23