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: ['q', 'Y', '6597', '6127', '8955']

SOLUTION: q, Y, 6597, 6127, 8955

PROBLEM: ['9167', '2991', 'G', '5327', 't', '8631', '2825', '2915', '2637', 'H', 'A', '7233', '223', '51', 'n', '2071', 't', '3703', '4951', '4833', '6801', '2973', 'K', 'f', '3945']

SOLUTION: G, t, H, A, n, t, K, f, 9167, 2991, 5327, 8631, 2825, 2915, 2637, 7233, 223, 51, 2071, 3703, 4951, 4833, 6801, 2973, 3945

PROBLEM: ['m', '1647', 'y', 'k', 'M', '1743', '537', 'U', 'P', 'o', '3415', '4427', '5135', '6121', 'y', 'f', 'c', 'f', '9797', 'h', '1519', '2499', 'z', 'Z', '4423', 'g']

SOLUTION:
m, y, k, M, U, P, o, y, f, c, f, h, z, Z, g, 1647, 1743, 537, 3415, 4427, 5135, 6121, 9797, 1519, 2499, 4423