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: ['Z', 'a', 't', 'a', 'r', 'M', 'c', '7941', '877', '2833', 'A', 'j', '2239', '1219', '6581', 'C', '6387', '3731', 'P', '6341', 'm', 'N', 's', 'r', 'e', '877', 'B', 'B']

26, 1, 20, 1, 18, 13, 3, 7941, 877, 2833, 1, 10, 2239, 1219, 6581, 3, 6387, 3731, 16, 6341, 13, 14, 19, 18, 5, 877, 2, 2