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', 'T', '561', '3527', '2645', 'H', 'L', '2493', 'Q', 'M', '6407', 'b', 'q', 'x', 'I', 'P', '2505', 'R', '5369', '4493', 'l', '4849', '853', '8241', '2161', '409', '2189', '3837', '51', '6685', 'p']

7, 20, 561, 3527, 2645, 8, 12, 2493, 17, 13, 6407, 2, 17, 24, 9, 16, 2505, 18, 5369, 4493, 12, 4849, 853, 8241, 2161, 409, 2189, 3837, 51, 6685, 16