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', '1059', '4961', '1533', '8689', 'n', '4643', 'b', 'a', '8315', '8991', '1323', '4307', '2567', '2861', 'I', 'J', '2327', '3931', '8481', '7651', '8075', 'A', '5285', '9953', '3551', 'q', 'u', '581', 'P', 'Q']

7, 1059, 4961, 1533, 8689, 14, 4643, 2, 1, 8315, 8991, 1323, 4307, 2567, 2861, 9, 10, 2327, 3931, 8481, 7651, 8075, 1, 5285, 9953, 3551, 17, 21, 581, 16, 17