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: ['R', 'x', 'r', 'b', 'i', '8777', 'X', '4767', '1873', 'k', 'W', 'F', '6469', 'Q', '5225', '3911', 'R', '2895', 'D', '9953', '7665', 'q']

18, 24, 18, 2, 9, 8777, 24, 4767, 1873, 11, 23, 6, 6469, 17, 5225, 3911, 18, 2895, 4, 9953, 7665, 17