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: ['U', '1869', '249', 'W', 'q', '7825', 'l', 'C', 'J', '4275', '3503', 'l', 'F', 'i', 'K', '1217', '8667', '9779', '1477', '445', '2701', 'W', '9035', 'F', '3271', '7013', '5279', '9831', 'g', '593', 'j', '9507']

SOLUTION: U, W, q, l, C, J, l, F, i, K, W, F, g, j, 1869, 249, 7825, 4275, 3503, 1217, 8667, 9779, 1477, 445, 2701, 9035, 3271, 7013, 5279, 9831, 593, 9507

PROBLEM: ['y', 't', '3581', 't', '4415', '1575', 'k', 'U', '9815', '3627', 'i', '3261', '4213', '1707', 'c', '4811', '639', 'F', '2923', 't', '3217', '9321']

SOLUTION: y, t, t, k, U, i, c, F, t, 3581, 4415, 1575, 9815, 3627, 3261, 4213, 1707, 4811, 639, 2923, 3217, 9321

PROBLEM: ['5509', '8513', 'L', '975', 'y', 'F', '8209', '2965', 'P', '1261', '1025', 's', '6583', 's', '9523', 'C', 'Y', '7931', '9117']

SOLUTION:
L, y, F, P, s, s, C, Y, 5509, 8513, 975, 8209, 2965, 1261, 1025, 6583, 9523, 7931, 9117