instruction:
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to collate all the alphabetical elements at the start of the list followed by all the numerical elements of the list. Maintain the order in which the alphabetical elements appear in the given input list, and do the same for the numerical elements.
question:
['7141', '3539', '5309', 'R', 'd', 'l', 'p', '7749']
answer:
R, d, l, p, 7141, 3539, 5309, 7749


question:
['q', '8387']
answer:
q, 8387


question:
['p', 'c', 'i', '5351', 'N', 't', '4889', 'f', 'Y', 'Z', 'N', 'F', '7887', 'E', '5153', 'W', '6505', 'u', '9175']
answer:

p, c, i, N, t, f, Y, Z, N, F, E, W, u, 5351, 4889, 7887, 5153, 6505, 9175