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: ['g', '7967', '4043', 'U', '5971', 'm', 'J', 'M', '5865', '7583', 'e', '8485', '2981', 'v', '2335', 'J', '783', '6225', '5127', 'p', 'p', '6477', 'z', 'N', 'w', '5645', 'n', '5941', '7777']

7, 7967, 4043, 21, 5971, 13, 10, 13, 5865, 7583, 5, 8485, 2981, 22, 2335, 10, 783, 6225, 5127, 16, 16, 6477, 26, 14, 23, 5645, 14, 5941, 7777