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: ['t', '259', '8677', '4441', '5377', 'U', 'g', '295', '1429', 'K', 'C', 'H', '6767', '3833', '1121', 'N', 'H', 'Y', '225', 'N', 'L', '5', '509', '103', 'v', 'g', 'p', 'x', '1247', '9621', '2599', '1851', 'F', 'i']

SOLUTION: t, U, g, K, C, H, N, H, Y, N, L, v, g, p, x, F, i, 259, 8677, 4441, 5377, 295, 1429, 6767, 3833, 1121, 225, 5, 509, 103, 1247, 9621, 2599, 1851

PROBLEM: ['8467', 'Y', '2577', '9341', 'J', '1787', 'V', 'T', '8479', '7497', 'u', 'z', 'x', '9557', 'i', 'j', '4031', 'R', 'h', '6007', 'V', '6755', 'u', 'B', 'g', '7473']

SOLUTION: Y, J, V, T, u, z, x, i, j, R, h, V, u, B, g, 8467, 2577, 9341, 1787, 8479, 7497, 9557, 4031, 6007, 6755, 7473

PROBLEM: ['u', 'Q', 'q']

SOLUTION:
u, Q, q