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: ['9965', 'X', '5861', '7349', '2503', '5299', 'G', '4777', '7533', 'F', 'H', '9485', 'e', 'A', '9875', 'w', 'U', '1963', 'o', 't', 'a', '533', 'N', '2199', 'g', 'W', 't', '2483', '8353', 'P', '1303', '4605', '4921', 'J', '9867', '1487', 'A', 'a', 'c']

A: X, G, F, H, e, A, w, U, o, t, a, N, g, W, t, P, J, A, a, c, 9965, 5861, 7349, 2503, 5299, 4777, 7533, 9485, 9875, 1963, 533, 2199, 2483, 8353, 1303, 4605, 4921, 9867, 1487
****
Q: ['5039', 'O', 'A', '5619', 'P', '8261', '5983', '1779', 'M', '5919', '3361', '6323']

A: O, A, P, M, 5039, 5619, 8261, 5983, 1779, 5919, 3361, 6323
****
Q: ['8823', '3911', 'j', 'J', 'X', '4793', '9277', 't', '1761', 'b', 'k', 'B', '6039', 'l', '45', 'q', 'G', 'G', '3019', 'e', '9883', 'L', '2111', 'w', '4307', 'L', 'O', 'u', '9367', 'o', 'U', '6229', '3017', '6653', 'h']

A:
j, J, X, t, b, k, B, l, q, G, G, e, L, w, L, O, u, o, U, h, 8823, 3911, 4793, 9277, 1761, 6039, 45, 3019, 9883, 2111, 4307, 9367, 6229, 3017, 6653
****