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: ['1177', '4739', 'W', 'M', '8895', '7313', '5197', '6097', '1583', 'g', '2001', 'c', '771', 'j', 'Y', 'K', '1007', '8887', '2173', '3737', '5797', 'H', '2031', '793', '5971', '6097', 'p', 'L', 'm', '7947', 'l', 'K', '1263', 'l', 'i', '8437', 'U', 'A']

SOLUTION: W, M, g, c, j, Y, K, H, p, L, m, l, K, l, i, U, A, 1177, 4739, 8895, 7313, 5197, 6097, 1583, 2001, 771, 1007, 8887, 2173, 3737, 5797, 2031, 793, 5971, 6097, 7947, 1263, 8437

PROBLEM: ['l', 'O', 'F', '6491', 'I', 'n', 'c', 't', '2227', 'S', 'd', '8445', '7269', '85', '9093', '7887', '2341']

SOLUTION: l, O, F, I, n, c, t, S, d, 6491, 2227, 8445, 7269, 85, 9093, 7887, 2341

PROBLEM: ['x', 'q', '1767', 'v', '2651', 'q', '175', '4655', 'J', 'C', 'N', '1529', 'j', 'F', 'C', 'f', 'E', '8273', '5235', '7431', '5245', '7261', '5597', 'X', 'n', 'b', '5747', '3781', '5551', 'd', '6529', 'a', '5115', 'Y', 'D']

SOLUTION:
x, q, v, q, J, C, N, j, F, C, f, E, X, n, b, d, a, Y, D, 1767, 2651, 175, 4655, 1529, 8273, 5235, 7431, 5245, 7261, 5597, 5747, 3781, 5551, 6529, 5115