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', 'O', '6323', 'F', 'P', 'D', 'X', 'H', 'h', 'J', '153', '8985', '4781', 'i', 'H', 'L', 'Y', 'i', 'a', '5901', 'd', '4317', 'q', 'I', '1107', 'J', '9153', '4803', 'k', '6601', '6621', '9379', '6829', 'S', 'J']

16, 15, 6323, 6, 16, 4, 24, 8, 8, 10, 153, 8985, 4781, 9, 8, 12, 25, 9, 1, 5901, 4, 4317, 17, 9, 1107, 10, 9153, 4803, 11, 6601, 6621, 9379, 6829, 19, 10