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: ['H', 'X']

SOLUTION: H, X

PROBLEM: ['9149', 'Y', 'H', 'X', '9595', '2511', '9871', 'o', '6163', '229', '2025', '2317', 'K', 'C', 'w', 'K', '7403', 'm', '2913', '5083', 'Q', '7913', 'I', '3937', '9183', '8923', '1221', 'Z', 'M', '3387', 'Z', '4775', 'b', '7175']

SOLUTION:
Y, H, X, o, K, C, w, K, m, Q, I, Z, M, Z, b, 9149, 9595, 2511, 9871, 6163, 229, 2025, 2317, 7403, 2913, 5083, 7913, 3937, 9183, 8923, 1221, 3387, 4775, 7175