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: ['n', 'B', 's', '4507', 'q', 'X', '5977', 's', 'o', 'f', '1629', 'd', '5751', '3723', 'l', 'C', 's', '1125', '3659', 'b', 'Z', 'J']

14, 2, 19, 4507, 17, 24, 5977, 19, 15, 6, 1629, 4, 5751, 3723, 12, 3, 19, 1125, 3659, 2, 26, 10