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: ['8927', '4495', 'H', '5399', 'K', 'i', '877', 'n', 'Y', '3979', '3817', 'm', 'i', 'u', 'j', 'X', '1849', '9491', '7567', 'P', 'L', 'B', '4095', '3985', '9199', '1137', '9221', '5751', 'r', 'r', '5223', '5441', '5837', '5569', '7149', 'A', 'n']

SOLUTION: H, K, i, n, Y, m, i, u, j, X, P, L, B, r, r, A, n, 8927, 4495, 5399, 877, 3979, 3817, 1849, 9491, 7567, 4095, 3985, 9199, 1137, 9221, 5751, 5223, 5441, 5837, 5569, 7149

PROBLEM: ['V', 'r', 'k', 'U', '213', 'O', '3673', '4515', 'e', '419', 'j', 'a', '9331', '5391', '8315', 'c', '5753', 'U', 'q', 'p', 'c', 'R', '6075', '6899', '7497', 'h', 'n', '6277']

SOLUTION: V, r, k, U, O, e, j, a, c, U, q, p, c, R, h, n, 213, 3673, 4515, 419, 9331, 5391, 8315, 5753, 6075, 6899, 7497, 6277

PROBLEM: ['81', 'u', '6053', '9565', 'p', 'g', 'N', '3799', 'N', '4003', '5165', 'Z', 'D', 'V', 'I', 'y', 'v', 'm', 'J', '1965', 'L', 'd', 'b', '9409', '9855', '6103', 'p', '2677', '5259', 'U', '2633', '307', 'o', 'z', '2775', '6511', '605', '1457', 'd', 'x']

SOLUTION:
u, p, g, N, N, Z, D, V, I, y, v, m, J, L, d, b, p, U, o, z, d, x, 81, 6053, 9565, 3799, 4003, 5165, 1965, 9409, 9855, 6103, 2677, 5259, 2633, 307, 2775, 6511, 605, 1457