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: ['e', 'g', '7515', '2789', 'b', 'H', '8535', '137', '7261', '7601', '1781', '6419', 'P', 'L', '6473', 'G', '8555', 'C', 'G', '1049', 'x', '4249', '729', 'n', 'y', '2667', '2447', 'w', 'r', '5949', 'M', 'I', 'L', 'i', 't', 'j', '267', '1351']

A: e, g, b, H, P, L, G, C, G, x, n, y, w, r, M, I, L, i, t, j, 7515, 2789, 8535, 137, 7261, 7601, 1781, 6419, 6473, 8555, 1049, 4249, 729, 2667, 2447, 5949, 267, 1351
****
Q: ['l', '8853', 'P', 'u', '9699', '9401', 'X', '2757', 's', '4665', 'h', '7999', 'f', '2975', 'l', '3303', '3379', 'H', '8431', 'X', 'd', 'C', 'G', '8945', 'u']

A: l, P, u, X, s, h, f, l, H, X, d, C, G, u, 8853, 9699, 9401, 2757, 4665, 7999, 2975, 3303, 3379, 8431, 8945
****
Q: ['q', 'd', 'i', '6229', 'J', '2283', '4951', '6727', 'H', 'H', '7817', '6875', '9411', '1797', 'd', '3017', '8271', '3357', '1477', 'e', 'd', 'q', 'f', 'O', 'F', '5025', 'A']

A:
q, d, i, J, H, H, d, e, d, q, f, O, F, A, 6229, 2283, 4951, 6727, 7817, 6875, 9411, 1797, 3017, 8271, 3357, 1477, 5025
****