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: ['R', '4459', '7283', 'u', 'Q', 'r', 'n', 'P', 'T', 'u', '3673', 'Y', 'l', 'x', 'n', '4779', 'Y', 'm', 'B', 'p', '8399', '2977', 'h', '7849', '3879', 'B', 'N', '125', '3091', '2647', 'Q']

A: R, u, Q, r, n, P, T, u, Y, l, x, n, Y, m, B, p, h, B, N, Q, 4459, 7283, 3673, 4779, 8399, 2977, 7849, 3879, 125, 3091, 2647
****
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: ['3791', 'L', '8967']

A:
L, 3791, 8967
****