TASK DEFINITION: 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.
PROBLEM: ['R', 'G', 'q', 'h', 'S', '3927', 'F', '1733', 'J', '891', 'Y', 'w', '9279', '447', 'L', '3511', '4641', '2599', 'q', 'd', '6279', '8873', '2225', 'S', 'x', 'j', 'e', '9103', '9821', '9405', 'l', 'g', '623', 'b', 'd', '5225', 'U']

SOLUTION: R, G, q, h, S, F, J, Y, w, L, q, d, S, x, j, e, l, g, b, d, U, 3927, 1733, 891, 9279, 447, 3511, 4641, 2599, 6279, 8873, 2225, 9103, 9821, 9405, 623, 5225

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

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

PROBLEM: ['517', '1697', 'Z', 'r', 'q', '2051', '7043', 'T', '6265', '5491', 'I', 'e', '3125', 'y', 'I', 'j', 'H', '4755', '1081', '1291', '457', '5851', 'e', 'k']

SOLUTION:
Z, r, q, T, I, e, y, I, j, H, e, k, 517, 1697, 2051, 7043, 6265, 5491, 3125, 4755, 1081, 1291, 457, 5851