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: ['d', 'l', 'Y', '165', 'k', 'k', '6883', '5133', '1783', 'f', '7105', 'j', '7627', 'W', '5317', '1379', '5349', 'B', 'J']

4, 12, 25, 165, 11, 11, 6883, 5133, 1783, 6, 7105, 10, 7627, 23, 5317, 1379, 5349, 2, 10