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: ['O', '4065', '3793', '4123', 'i', '1017', '2023', 'Q', 'Y', 'u', '8089', '8707', '6203', '1597', 'y', '6851', 'M', '1927', '9641', 't', '4281', 'b', 'm', 'm', '5371', '4465', 'n', '6049', 't', '5251', 'w', 'K', '883', 'd', '4925', '4185']

Answer: O, i, Q, Y, u, y, M, t, b, m, m, n, t, w, K, d, 4065, 3793, 4123, 1017, 2023, 8089, 8707, 6203, 1597, 6851, 1927, 9641, 4281, 5371, 4465, 6049, 5251, 883, 4925, 4185


Question: ['a', '381', '4171', 'p', 'u', 'c', 'q', '3225', 'L', '5659', '7671', 'H', '4341', '2255', '7055', '4853', 'f', 'J', 'h', '3501', '7511', 'f']

Answer: a, p, u, c, q, L, H, f, J, h, f, 381, 4171, 3225, 5659, 7671, 4341, 2255, 7055, 4853, 3501, 7511


Question: ['5949', 'P', '8135', 'u', '7347', '6195', '1195', 'E', 'B', 'W']

Answer:
P, u, E, B, W, 5949, 8135, 7347, 6195, 1195