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: ['T', 'd', 'T', '4771', '3011', '1557', '8237', 'J', 'Q', '1121', 'y', 'l', '4965', '4943', 'f', 'S', '489', '2997', '1873', 'g', 'S', '6789', 'X', '3181']

20, 4, 20, 4771, 3011, 1557, 8237, 10, 17, 1121, 25, 12, 4965, 4943, 6, 19, 489, 2997, 1873, 7, 19, 6789, 24, 3181