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: ['n', '4271', 'e', 'm', '7311', '5189', '29', '5345', 'S', '1593', 'G', 'Y', '4365', 'g', 'F', 'M', '6887', 'g']

14, 4271, 5, 13, 7311, 5189, 29, 5345, 19, 1593, 7, 25, 4365, 7, 6, 13, 6887, 7