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: ['p', 'R', 'G', 'n', '8573', 'K', 'y', 'k', 'y', 'L', 'X', '213', 'h', 'T', 'x', '3587', '1735', 'z', '6401', 'f', 'v', '2915', 'I', '8479', '1197', 'D', '2825', 'B', 'a', '3393', 'I', 'Y', '1783', '2731']

16, 18, 7, 14, 8573, 11, 25, 11, 25, 12, 24, 213, 8, 20, 24, 3587, 1735, 26, 6401, 6, 22, 2915, 9, 8479, 1197, 4, 2825, 2, 1, 3393, 9, 25, 1783, 2731