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: ['5047', '5847', '8653', 'Y', 'D', '3351', 'u', '273', 'X', '1109', 'R', '9861', 'Y', '3555', 'V', '9131', 'h', 'R', 'v', '2269', '9623', '9855', '2811', '4787', 'y', '5021', 'L', 'j', 'f']

5047, 5847, 8653, 25, 4, 3351, 21, 273, 24, 1109, 18, 9861, 25, 3555, 22, 9131, 8, 18, 22, 2269, 9623, 9855, 2811, 4787, 25, 5021, 12, 10, 6