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: ['9175', 'k', '2827', 'z', '9377', 'g', 'z', 'I', 'U', 'D', '8353', 'p', 'b', 'C', '9151', '4657', 'p', 'z', '7771', 'D', 'U', 'q', 'f', 'R', 'M', '5491', '5043', '4249', 'l', '3871']

A: k, z, g, z, I, U, D, p, b, C, p, z, D, U, q, f, R, M, l, 9175, 2827, 9377, 8353, 9151, 4657, 7771, 5491, 5043, 4249, 3871
****
Q: ['9779', 'z', 'p', 'W', '7659', '2619', 'a', '3109', 'i', 'R', 'a', '5287', 'j', '3473', '4907', '7261', 'h', '5289', '43', 'l', 'M', 'o', 'm']

A: z, p, W, a, i, R, a, j, h, l, M, o, m, 9779, 7659, 2619, 3109, 5287, 3473, 4907, 7261, 5289, 43
****
Q: ['9819', 'D', 'U', '3995', '7899', 'b', '4969', 'n', '3203']

A:
D, U, b, n, 9819, 3995, 7899, 4969, 3203
****