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: ['F', '4881', 'F', 'w', 'F', 'O', '209', '9807', 'z', 'z', '5369', 'h', 'H', '4151', 'm', '6415', 'd', 'Z', 'E', 'W', '7505', '6667', '1265', 'e', '7899', '827', 'Z', 'M', '9257']
Output:
6, 4881, 6, 23, 6, 15, 209, 9807, 26, 26, 5369, 8, 8, 4151, 13, 6415, 4, 26, 5, 23, 7505, 6667, 1265, 5, 7899, 827, 26, 13, 9257