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: ['5871', '1249', 'y', 'X', 'p', '2831', 'u', '2285', '4163', '8907', '8259', '8345', '1589', 'D', 'y', 'N', '1003', '8493', 'b', '709', '9273', 'V', '3913', '5483', 'P', '8705', '5187', 'P', 'B', 'N', '4983', 'S', '7791', 'n', 'M', '1179', '8205', '9511', 'V', 'Y']

5871, 1249, 25, 24, 16, 2831, 21, 2285, 4163, 8907, 8259, 8345, 1589, 4, 25, 14, 1003, 8493, 2, 709, 9273, 22, 3913, 5483, 16, 8705, 5187, 16, 2, 14, 4983, 19, 7791, 14, 13, 1179, 8205, 9511, 22, 25