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]: ['L', 'w', 'n']
[A]: L, w, n


[Q]: ['4239', '1111', 'n', '6065', '8331', 'v', '4847', 'W', 'D', '1121', 'E', '3707', 'h', 'i', '6417', 's', '487', 't', 'y', '5533', '3211', 'V', 'B', '513', '7427', '2699', 'u', '4179', '9101', 'D', 'C', 'g']
[A]: n, v, W, D, E, h, i, s, t, y, V, B, u, D, C, g, 4239, 1111, 6065, 8331, 4847, 1121, 3707, 6417, 487, 5533, 3211, 513, 7427, 2699, 4179, 9101


[Q]: ['c', '2657', '3545', 'i', '9545', '759', 'J', 'H', 'l', 'x', '3223', 'C', '6453', '985', '3105', '2029', '3731', '5651', '5383', 'W', 'c', '1353', '4183', 'g', 'y', 'G', 'g', '4717', '4463', '7203', '8061', '7733', 'p', '5151', '167', '8425', 'O', 'P']
[A]:
c, i, J, H, l, x, C, W, c, g, y, G, g, p, O, P, 2657, 3545, 9545, 759, 3223, 6453, 985, 3105, 2029, 3731, 5651, 5383, 1353, 4183, 4717, 4463, 7203, 8061, 7733, 5151, 167, 8425