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: ['E', '4163', '6335', '2529', '921', '191', '743', 'R', 'y', '9445', 'g', 'M', '3917', '1643', '8991', '3931', 'P', '473', '5393', 'p', '7935', 'A', '879', 'c', '7839', 'g', 'g']

5, 4163, 6335, 2529, 921, 191, 743, 18, 25, 9445, 7, 13, 3917, 1643, 8991, 3931, 16, 473, 5393, 16, 7935, 1, 879, 3, 7839, 7, 7