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:
['5063', '7759', 'Y', '2415', 'p', 'R', 'S', '2313', 'i', '7155', 'z', 'R']
answer:
Y, p, R, S, i, z, R, 5063, 7759, 2415, 2313, 7155


question:
['5717', 'y', '2681', 'l', 'm', '3623', 'o', 'P', 'y', 'h', '2751', 'e', 'i', 'Q', '8331', '3197', 'v', '9189', 'F']
answer:
y, l, m, o, P, y, h, e, i, Q, v, F, 5717, 2681, 3623, 2751, 8331, 3197, 9189


question:
['5039', 'O', 'A', '5619', 'P', '8261', '5983', '1779', 'M', '5919', '3361', '6323']
answer:

O, A, P, M, 5039, 5619, 8261, 5983, 1779, 5919, 3361, 6323