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: ['X', '3997', 'J', '6673', '3275', '7787', 'o', 'O', 'y', '3109', '2047', 'N', '7543', 'h', 'Q', '1031']

24, 3997, 10, 6673, 3275, 7787, 15, 15, 25, 3109, 2047, 14, 7543, 8, 17, 1031