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: ['z', '8187', '4529', '1919', 'P', 'z', '1201', '1097', '6543', '3119', '2985', '9259', '2779', '1863', 'c', '361', '5583', '1255', 'Z', 'B', 'E', '4107', 'B', 't', '8595', 't', 't', '8349', 'Z', 'G', 't', 'U', 'M', '5879', '9917', '6685', '5647']

A: z, P, z, c, Z, B, E, B, t, t, t, Z, G, t, U, M, 8187, 4529, 1919, 1201, 1097, 6543, 3119, 2985, 9259, 2779, 1863, 361, 5583, 1255, 4107, 8595, 8349, 5879, 9917, 6685, 5647
****
Q: ['E', '4939', '7367', 'z', 'C', '1919', '7601', 'q', '6849', 'n', 'h', 'X']

A: E, z, C, q, n, h, X, 4939, 7367, 1919, 7601, 6849
****
Q: ['5149', 'y', '7455', '7477', '7625', 'u', 'L', 'c', 'R', '3289', '3559', '321', '4741', '8875', '9017', 'b', '8329', '4741', '149', 'Y', '1137', 'f', 'P', 'z', '8549', '8285', '8847', '8139', 'F', 'u', '7013', '9507', '5267', '5665', 'p', '9303', '4363']

A:
y, u, L, c, R, b, Y, f, P, z, F, u, p, 5149, 7455, 7477, 7625, 3289, 3559, 321, 4741, 8875, 9017, 8329, 4741, 149, 1137, 8549, 8285, 8847, 8139, 7013, 9507, 5267, 5665, 9303, 4363
****