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: ['677', 'J', 'B', '4987', '6385', 'D', '4267', '2227', 'G', 'm', '1421', 'D', 'd', 'D', 'a', '807', 'O', 'M', 'B', 'b', 'Z', 'o', 'Y', 'h', '6851', 'y', '2787', 'D', 'b', 'X', '4575', 'k', 'Z', '3981']

677, 10, 2, 4987, 6385, 4, 4267, 2227, 7, 13, 1421, 4, 4, 4, 1, 807, 15, 13, 2, 2, 26, 15, 25, 8, 6851, 25, 2787, 4, 2, 24, 4575, 11, 26, 3981