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: ['1363', '4357', '39', 'g', 'j', 'm', 'w', 'y', '8981', '6481', 'p', 'b', '8457', '7229', 'g', '1803', 'i', '9219', 'b', 'm', '661', '3333', '6127', 'T', '1099', 'P', '2173', '6471', '6119', '5409', 'I', '2733', 'm', '7543', 'K']

A: g, j, m, w, y, p, b, g, i, b, m, T, P, I, m, K, 1363, 4357, 39, 8981, 6481, 8457, 7229, 1803, 9219, 661, 3333, 6127, 1099, 2173, 6471, 6119, 5409, 2733, 7543
****
Q: ['Y', 'C', '5581', 'h', '721', 'T', '9727', 'l', 'q', '2239', '2891', 'g', 'b', 'L', 'Y', '1391', '3441', '2845', '7533', 'J', 't', 'i', '4697', '9955', '8751', 'L', '7079', '3327', '7643']

A: Y, C, h, T, l, q, g, b, L, Y, J, t, i, L, 5581, 721, 9727, 2239, 2891, 1391, 3441, 2845, 7533, 4697, 9955, 8751, 7079, 3327, 7643
****
Q: ['i', '4053', '4785', '4007', '9951', 'o', '2361', '9361', '9059', '8343', 'X', 'F', '8993', '8821', '939', 'g', 'U']

A:
i, o, X, F, g, U, 4053, 4785, 4007, 9951, 2361, 9361, 9059, 8343, 8993, 8821, 939
****