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: ['4367', 'd', '869', '9437', '1241', '5197', '9561', '1617', '1021', '2239', '6355', 'G', 'P', '5951', 'S', 'j', '617', 'w', 'T', 'j', 'R', 'h', 'f', 'g']

A: d, G, P, S, j, w, T, j, R, h, f, g, 4367, 869, 9437, 1241, 5197, 9561, 1617, 1021, 2239, 6355, 5951, 617
****
Q: ['E', 'j', '5929', 'N', '4205', '4785', 'D', 'c', '3533', '8689', '8511', 'd', '3375', 'G', 'Y', '9909', 'R', '377', 'M', 'u', '8709', 'W', '6291', 'Z', 'e', '5291', '6033', 'g', 'w', '7365', '1283', '6665', '8119', '5015', 'y', 'F']

A: E, j, N, D, c, d, G, Y, R, M, u, W, Z, e, g, w, y, F, 5929, 4205, 4785, 3533, 8689, 8511, 3375, 9909, 377, 8709, 6291, 5291, 6033, 7365, 1283, 6665, 8119, 5015
****
Q: ['3899', 'B', 'L', '3041', 'Z', 'k']

A:
B, L, Z, k, 3899, 3041
****