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', '8827', 'w', '711', 'O', '8157', '2885', 'a', 't', 'f', 'r', 'P', '6375', 'J', 'S', '1513', 'I', '2293', '9687', 'm', 'r', '427', 'Y', '8809', '2945', '9949', '5365', 'Z']

18, 8827, 23, 711, 15, 8157, 2885, 1, 20, 6, 18, 16, 6375, 10, 19, 1513, 9, 2293, 9687, 13, 18, 427, 25, 8809, 2945, 9949, 5365, 26