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]: ['q', 'y', 'h', '6797', 'm', 'p', '3303', '4349', '9779', '6367', '3107', 'R', 'C', '6105', '6165', '6611', 'O', '6697', 'l', 'L', 'Q', '8817', 'x']
[A]: q, y, h, m, p, R, C, O, l, L, Q, x, 6797, 3303, 4349, 9779, 6367, 3107, 6105, 6165, 6611, 6697, 8817


[Q]: ['L', 'p', '2899', '9923', '5445', '401']
[A]:
L, p, 2899, 9923, 5445, 401