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: ['7297', '6177', 'V', 'G', '5989', '9833', 'J', 'w', '4305', 'B', '8391', 'H', 'Y', 'O', '2199', 'Z', '7033', 'A', '8963', 'l', '5991', '6979', '9769', 'u', 'g', '2721', '1209', '7829', '8669', '5233', 'G', '7051', 'G']

7297, 6177, 22, 7, 5989, 9833, 10, 23, 4305, 2, 8391, 8, 25, 15, 2199, 26, 7033, 1, 8963, 12, 5991, 6979, 9769, 21, 7, 2721, 1209, 7829, 8669, 5233, 7, 7051, 7