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]: ['G', 'j', '4971', '6923', '961', 'a', 'U', '3943', '6291', 'f', 'w', 'U', '5505', 'Y', '2691', 'u', 'U', '37', 'b', 'i', 'a', 'j', 'w', '5023', '7501', 'q', '8535', 'J', 'q', 'd', '8981', 'X']
[A]: G, j, a, U, f, w, U, Y, u, U, b, i, a, j, w, q, J, q, d, X, 4971, 6923, 961, 3943, 6291, 5505, 2691, 37, 5023, 7501, 8535, 8981


[Q]: ['j', 'P', 'x', '3485', 'h', 'I']
[A]: j, P, x, h, I, 3485


[Q]: ['s', 'A', '9387', 'f', '1713', 'o', '9121', 'v', 'j', 'l', 'e', 'J', '1865', '5195', 'R', '9387', '1803', '397', '7303', 'X', 'v', 'u', '3485', '3837', '2847', '497', 'i', 'L', '9895', '9263', '6353', 'w', '4185', 'D', '2189']
[A]:
s, A, f, o, v, j, l, e, J, R, X, v, u, i, L, w, D, 9387, 1713, 9121, 1865, 5195, 9387, 1803, 397, 7303, 3485, 3837, 2847, 497, 9895, 9263, 6353, 4185, 2189