Given the task definition and input, reply with output. 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.

['5411', '4701', '8535', '1391', 'g', 'N', '1801', 'U', '8989', 'V', 'W', 'D', '4045', 'T', 'R', 'r', '5797', '3891', '8707', 'P']

5411, 4701, 8535, 1391, 7, 14, 1801, 21, 8989, 22, 23, 4, 4045, 20, 18, 18, 5797, 3891, 8707, 16