Q: 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.
['5187', 'k', '8151', '6245', 'F', 'h', 'L', '7833', 'c', '681', 's', 'L', 'T', 'M', '2135', '1533', 'r', 'M', '7083', '9605', 'H', 'x', 'n', '3415', '7989', 't', 'm', '3475', '8479', '4503', '2067', '8467', '5177', '8393']
A:
5187, 11, 8151, 6245, 6, 8, 12, 7833, 3, 681, 19, 12, 20, 13, 2135, 1533, 18, 13, 7083, 9605, 8, 24, 14, 3415, 7989, 20, 13, 3475, 8479, 4503, 2067, 8467, 5177, 8393