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: ['m', '3101', '8627', 'p', '5923', 'S', 'Z', '37', '5807', 'N', 'U', '4511', '1065', '173', 'J', '1343', 't', '2081', 'd', '6249', '527', 'z', 'i', '5497', '2309', 'N', 'g', 'U', '6609', 'L', '7373', '6897', '1361', '8413', 'b', 'k', 'Y']

Answer: m, p, S, Z, N, U, J, t, d, z, i, N, g, U, L, b, k, Y, 3101, 8627, 5923, 37, 5807, 4511, 1065, 173, 1343, 2081, 6249, 527, 5497, 2309, 6609, 7373, 6897, 1361, 8413


Question: ['1023', '7407', 'q', 'J', '2193', '4717', 'l', 'y', '1633', '5025', '4635', 'R', '9735']

Answer: q, J, l, y, R, 1023, 7407, 2193, 4717, 1633, 5025, 4635, 9735


Question: ['6101', 'c', '8937', 'B', 'H', '3243', 'Z', '1883', '179', 'O', 'd', '1557', '5643', 'w', 'a', '5701', 'R', 'p', '8495', 'u', 'P', '9053', 'N', 'l', 'z', '2177', 'Z', '3041', 'o', 'j', 'k', '7781', 'a', '5609', 'V', '7997']

Answer:
c, B, H, Z, O, d, w, a, R, p, u, P, N, l, z, Z, o, j, k, a, V, 6101, 8937, 3243, 1883, 179, 1557, 5643, 5701, 8495, 9053, 2177, 3041, 7781, 5609, 7997