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: ['n', '157', 'F', 'a', 'y', 'r', 'R', 'v', '9255', 'R', '2983', '6891', 'y', 'J', '767', 'T', 'a', '2319', 'i', 'p', '9905', '4439', 'v', 'z', '2223', 'U', '93', 'z', '3697', '107', '5911']

SOLUTION: n, F, a, y, r, R, v, R, y, J, T, a, i, p, v, z, U, z, 157, 9255, 2983, 6891, 767, 2319, 9905, 4439, 2223, 93, 3697, 107, 5911

PROBLEM: ['1225', 'x', 'n', 'R', 'B', '6101', '4187', '2929', 'o', 's', '6833', 'X', '9405', 'h', '3631', '8333', 'C', '5867', '8845', '911', '3457', '4039', '6343', '2401', '1475', 'C', 'U', '7151', 'c', '9423', 'G', '9263', 'g', '6197', 'e', 'u']

SOLUTION: x, n, R, B, o, s, X, h, C, C, U, c, G, g, e, u, 1225, 6101, 4187, 2929, 6833, 9405, 3631, 8333, 5867, 8845, 911, 3457, 4039, 6343, 2401, 1475, 7151, 9423, 9263, 6197

PROBLEM: ['f', 'p', 'R', 'x']

SOLUTION:
f, p, R, x