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.

['d', 'X']
4, 24

['O', '3219', 'G', '1495', '4977', 't', '277', '6411', 'I', 'o', '7879', '3811', '581', '7163', 'Q', '9781', '9539', '2763', 'V', '8255', '6099', '4211', '3687', 'g', '9241']
15, 3219, 7, 1495, 4977, 20, 277, 6411, 9, 15, 7879, 3811, 581, 7163, 17, 9781, 9539, 2763, 22, 8255, 6099, 4211, 3687, 7, 9241

['1247', '8701', '8653', 'Z', '7249', 'h', '8975', 'p']

1247, 8701, 8653, 26, 7249, 8, 8975, 16