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.

['n', '7877', 'i', '6691', '9233', '8367', '4137', 'q', 'n', 'v', 't', 'z', 'c', 'a', 'R', 'm', '5667', '3581', 'W', '5073', 'M', '4165']
14, 7877, 9, 6691, 9233, 8367, 4137, 17, 14, 22, 20, 26, 3, 1, 18, 13, 5667, 3581, 23, 5073, 13, 4165