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: ['7663', 'g', 'H', '5749', 'b', '699', '3975', 'k', 'A', 't', 'B', '4409', '7543', '3459', '9137', 's', 'i', '3073', '3231', '2555', '8569', 'K', 'o', '3137', 'b', 'h']

SOLUTION: g, H, b, k, A, t, B, s, i, K, o, b, h, 7663, 5749, 699, 3975, 4409, 7543, 3459, 9137, 3073, 3231, 2555, 8569, 3137

PROBLEM: ['y', '2123', '9851', '2975', 'I', '5053', '7519', '5773', 'r', 'H', '9901', '5001', '2233', '1683', '4779', '3897', 'P', 'O', 'j', 'J', '6993', '7271', '9121', '2631', '6019', '3003', '3687', '3053', 'G', '2009', 'c', 'l', '8441', '9143', 'c', '7701', 'p', '4845', 'E']

SOLUTION: y, I, r, H, P, O, j, J, G, c, l, c, p, E, 2123, 9851, 2975, 5053, 7519, 5773, 9901, 5001, 2233, 1683, 4779, 3897, 6993, 7271, 9121, 2631, 6019, 3003, 3687, 3053, 2009, 8441, 9143, 7701, 4845

PROBLEM: ['2383', '2591', 'r', 'k']

SOLUTION:
r, k, 2383, 2591