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: ['9965', 'X', '5861', '7349', '2503', '5299', 'G', '4777', '7533', 'F', 'H', '9485', 'e', 'A', '9875', 'w', 'U', '1963', 'o', 't', 'a', '533', 'N', '2199', 'g', 'W', 't', '2483', '8353', 'P', '1303', '4605', '4921', 'J', '9867', '1487', 'A', 'a', 'c']

A: X, G, F, H, e, A, w, U, o, t, a, N, g, W, t, P, J, A, a, c, 9965, 5861, 7349, 2503, 5299, 4777, 7533, 9485, 9875, 1963, 533, 2199, 2483, 8353, 1303, 4605, 4921, 9867, 1487
****
Q: ['F', 'w', '7643', 'd', '7009', 'T', '7699', 'x', '1841', '3089', '9643', 'k', 'G', '9685', 'L', 'p', 'c', '9295', '1583', 'r']

A: F, w, d, T, x, k, G, L, p, c, r, 7643, 7009, 7699, 1841, 3089, 9643, 9685, 9295, 1583
****
Q: ['8751', '1437', 'f', '6915', '7337', 'r', '7633', 'V', '2749', 'S', 'H', '2483', 'c', '713', 'c', '4565', '23', 'u', '3851', 'g', 'I', '2179', 'f', '5171', '8833', '539', '9447', '7251', '73', '9087']

A:
f, r, V, S, H, c, c, u, g, I, f, 8751, 1437, 6915, 7337, 7633, 2749, 2483, 713, 4565, 23, 3851, 2179, 5171, 8833, 539, 9447, 7251, 73, 9087
****