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.
--------
Question: ['D', '465', 'O', '9737', '9185', 'w', 'K', '8155', '7515', '1049', '8299', 's', 'I', 'Z', '2049', '9119', '6869', 'e']

Answer: D, O, w, K, s, I, Z, e, 465, 9737, 9185, 8155, 7515, 1049, 8299, 2049, 9119, 6869


Question: ['G', 'G', '2545', 'c', '2661', '9995', '3151', 'o', '5479', '8223', 'z', '3977', '5659', '3137', '8157', 'o', 'x', 'q', 'E', 'R', 'Z', '3961', 'g', 's']

Answer: G, G, c, o, z, o, x, q, E, R, Z, g, s, 2545, 2661, 9995, 3151, 5479, 8223, 3977, 5659, 3137, 8157, 3961


Question: ['8017', 'l', '5589', 'q', 'u', 'x', '9165', 'T', 'O', 'H', 'Y', '8265', '5893', '3977', 'w', '9953', 'e', '4913', 'Q', 'f', 'U', 'L', '2097', 'B', 'L', 'z', '151', 'S', '4955', '7769', 'N', '5601', 'w', 'i', '5761', 'c', 'H']

Answer:
l, q, u, x, T, O, H, Y, w, e, Q, f, U, L, B, L, z, S, N, w, i, c, H, 8017, 5589, 9165, 8265, 5893, 3977, 9953, 4913, 2097, 151, 4955, 7769, 5601, 5761