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', '8509', 'M', 'n', 'H', '4271', '2099', 'N', 'j', '6693', '9477', 'y', '7403', '5507', 'k', '2045', '3329', '1871', 'Y', 'e', 'w', '6211', '4859', 'o', '9497', 'D', 'x', 'a', '4287', '4261', 'q', 'C', 'K', 'u', '1197', 'P', 'e', '4105']

7, 8509, 13, 14, 8, 4271, 2099, 14, 10, 6693, 9477, 25, 7403, 5507, 11, 2045, 3329, 1871, 25, 5, 23, 6211, 4859, 15, 9497, 4, 24, 1, 4287, 4261, 17, 3, 11, 21, 1197, 16, 5, 4105