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: ['5441', '5359', 'M', '23', '7021', '4341', '1529', '2723', '675', '2473', 's', 'S', 'G', '4319', 'D', '3329', 't', '8897', '6785', 'p', 'H', 'e', '7999', '8189', 's', 'i', '2559', '343', '2269', '5655', '3037', 'r', '963', 'i', 'q', '4099', 'v', '1867', 'k', '3081']

SOLUTION: M, s, S, G, D, t, p, H, e, s, i, r, i, q, v, k, 5441, 5359, 23, 7021, 4341, 1529, 2723, 675, 2473, 4319, 3329, 8897, 6785, 7999, 8189, 2559, 343, 2269, 5655, 3037, 963, 4099, 1867, 3081

PROBLEM: ['n', '5465', '5621', '9305', 'p']

SOLUTION: n, p, 5465, 5621, 9305

PROBLEM: ['815', '1449', '7213', '7693', '6771', 'F', 'O', 'L', '8287', 'W', 'Q', '9377', '7063', 'Y', '2705', '6611', '5337', '9821', '8461', 'R', '553', 'f']

SOLUTION:
F, O, L, W, Q, Y, R, f, 815, 1449, 7213, 7693, 6771, 8287, 9377, 7063, 2705, 6611, 5337, 9821, 8461, 553