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: ['5215', 't', '5517', 'K', 'y', 'v']

A: t, K, y, v, 5215, 5517
****
Q: ['3331', 'F', 'q', '6135', '9143', '7897', 'c', '8947', '5899', 'J', 'E', '6137', 'S', '9207', 'R', '2255', '5633', '575', '817', '8747', '2825', '2071', 'e', '5491', 'S', 'N', '9265']

A:
F, q, c, J, E, S, R, e, S, N, 3331, 6135, 9143, 7897, 8947, 5899, 6137, 9207, 2255, 5633, 575, 817, 8747, 2825, 2071, 5491, 9265
****