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: ['f', '4095', '8787', '8963', 'O', 'a', '819', 'u', '6877', '6687', '3987', '297', '5095', 'l', '1103', '1579', 'h', 'y', 'f', 'k', 'I', 'C', 'G', 'O', '39', 'R', '7597', '2981']

A: f, O, a, u, l, h, y, f, k, I, C, G, O, R, 4095, 8787, 8963, 819, 6877, 6687, 3987, 297, 5095, 1103, 1579, 39, 7597, 2981
****
Q: ['7485', '79', 'X', '5121', '4227', 'W', '8957', 'P', 'z', 'j', '3999', '2531', 'o', 'E', '279', 'O', 'b', 'b', '6643', 'Z', '1265', '6095', '3829', 'V', 't', '333', 'S', '15']

A: X, W, P, z, j, o, E, O, b, b, Z, V, t, S, 7485, 79, 5121, 4227, 8957, 3999, 2531, 279, 6643, 1265, 6095, 3829, 333, 15
****
Q: ['117', 'M', 'S', '1639', '4581', 'J', 'o', '3559', 'Z', 'H', 'x', 'I', '4301', '3799', '1447', '5415', 'e', 'o', 'L', 'v', 'k', 't', 'F', '2895', 'Q', '9089', 'D', 'R', '4013', 'w', '3841', 'E', '3775', '1201', 'k', '9179', '4999', 'v', 'G']

A:
M, S, J, o, Z, H, x, I, e, o, L, v, k, t, F, Q, D, R, w, E, k, v, G, 117, 1639, 4581, 3559, 4301, 3799, 1447, 5415, 2895, 9089, 4013, 3841, 3775, 1201, 9179, 4999
****