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: ['5239', 'N', 'x', 'a', 'q', '8527', '7611', 'd', 'E', '1235', 'D', '1565', 'x', 'G', '1303', 'G', 'g', 'W', 'q', 'B', 'z', 'Z', 'o', '2873']

5239, 14, 24, 1, 17, 8527, 7611, 4, 5, 1235, 4, 1565, 24, 7, 1303, 7, 7, 23, 17, 2, 26, 26, 15, 2873