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: ['9555', '9243', 'u', 'F', '6171', '2953', '6593', '4391', 'A', '9751', 'I', 'q', '4935', 'f', '2615', '1751', '8543', '3989', '5401', '7573']

SOLUTION: u, F, A, I, q, f, 9555, 9243, 6171, 2953, 6593, 4391, 9751, 4935, 2615, 1751, 8543, 3989, 5401, 7573

PROBLEM: ['L', 'l', '6069', '605', '6089', '2745', '5785', '9189', '1667', '965', 'w', '1387', 'L', '1907', 'G', 'b', '6697', 'W', '3957', 'C', 'm', 'F', '9615', 'c', '175', '2207', '6343', 's', '803', 'K', '2571', '697', 'B', 'W', '7463', 'W', '6521', 'D', '8535']

SOLUTION: L, l, w, L, G, b, W, C, m, F, c, s, K, B, W, W, D, 6069, 605, 6089, 2745, 5785, 9189, 1667, 965, 1387, 1907, 6697, 3957, 9615, 175, 2207, 6343, 803, 2571, 697, 7463, 6521, 8535

PROBLEM: ['6559', '1349', '2417', '4391', 'l', '9445', 'D', '2847', '829', '469', 'N', '9957', '3115', '1411', '7169', '2811', '7485', '3169', '4993', 'n', '5867', '9159', '3607', 'h', '9041', '6207', '8603', '4051', 'P', 'B', '667', 'c', '9147', 'U']

SOLUTION:
l, D, N, n, h, P, B, c, U, 6559, 1349, 2417, 4391, 9445, 2847, 829, 469, 9957, 3115, 1411, 7169, 2811, 7485, 3169, 4993, 5867, 9159, 3607, 9041, 6207, 8603, 4051, 667, 9147