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.

Q: ['1589', '9499', 'k', '7961', '5859', '6561', '4747', 'y', 'I', '9457', 'm', '9583', 'x', '8305', 'l', '3121', '5639', '4649', 'Z', 'O', '349', 'B', '4307', 's', '41', 'b', '2745', 'v', '1463', 'q', '3787', 's', 'L', 'm', 'w', 't', 'n']

A: k, y, I, m, x, l, Z, O, B, s, b, v, q, s, L, m, w, t, n, 1589, 9499, 7961, 5859, 6561, 4747, 9457, 9583, 8305, 3121, 5639, 4649, 349, 4307, 41, 2745, 1463, 3787
****
Q: ['327', '9245', 'D', 'U', 'C', 'D', '3149', 'J', '7545', 'x', 'O', 'i', '3189', '6727', '7141', '3135', '1903', 'I', '5179', 'o']

A: D, U, C, D, J, x, O, i, I, o, 327, 9245, 3149, 7545, 3189, 6727, 7141, 3135, 1903, 5179
****
Q: ['6431', 'g', 'i', 'A', '9179', '987', 'H', 'k', '5581', '4223', '6387', 'F', '9685', 's', '5431', 'J', 'M', '6977', 'J', '6255', '6361', 'i', '9699', '4291', 'u']

A:
g, i, A, H, k, F, s, J, M, J, i, u, 6431, 9179, 987, 5581, 4223, 6387, 9685, 5431, 6977, 6255, 6361, 9699, 4291
****