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: ['b', 'W', '6171', '4761', '6035', '6923', 'y', 'p', 'U', 'J', 'N', 'O', 'i', 'Z', 'd', 'b', 'E', '1475', '2887', '2381', 'f', 'g']

2, 23, 6171, 4761, 6035, 6923, 25, 16, 21, 10, 14, 15, 9, 26, 4, 2, 5, 1475, 2887, 2381, 6, 7