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: ['X', 'x', 'p', '3821', 'F', 'D', '7377', '5241', 'X', '6551', '8667', 'g', '9159', 'h', 'c', '4045', 'n', '6307', '5141', 'N', '7737', '1721', 'O', 'b']

24, 24, 16, 3821, 6, 4, 7377, 5241, 24, 6551, 8667, 7, 9159, 8, 3, 4045, 14, 6307, 5141, 14, 7737, 1721, 15, 2