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: ['W', 'J', 'k', 'P', '1583', '6499', '4231', 'e', '3023', 'n', 'l', '5127', '4223', '8387', 'X', 'p', 'g', '159', '91', '3811', '5507', '8657', 'w', '7995', '7839', 'X', '2017', '9751', 'O', '1651', '8245', '6945', 'l', '2291', '5899', 'o', 'q']

23, 10, 11, 16, 1583, 6499, 4231, 5, 3023, 14, 12, 5127, 4223, 8387, 24, 16, 7, 159, 91, 3811, 5507, 8657, 23, 7995, 7839, 24, 2017, 9751, 15, 1651, 8245, 6945, 12, 2291, 5899, 15, 17