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: ['H', '7783', '4761', 'M', '3645', 'I', '495', '3155', '1217', 's', '4347', '8683', '2753', '4443', '5941', 'S', '5281', 'n', 'X', '6327', '2067', 'p', '5417', '4833', 'O', 'u', '2807']

8, 7783, 4761, 13, 3645, 9, 495, 3155, 1217, 19, 4347, 8683, 2753, 4443, 5941, 19, 5281, 14, 24, 6327, 2067, 16, 5417, 4833, 15, 21, 2807