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: ['l', '2981', '2715', 'z', '2175', 'w', 'r', 'M']

12, 2981, 2715, 26, 2175, 23, 18, 13