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: ['S', 'a', '6301', '8377', 'H', '8191', '9593', 'b', 'k', '2015', 'J', 'r', 'L', '8157', '4029', '6339', '2587', '6137', 'p', 'y', 'U', '4239', 'C', '159', '5927', '9739', 'o', 'g', '783', 'p', '2029', '8631', '5943', 'J', 'J', 'y', 'E', 'q', 'G', 'I']

A: S, a, H, b, k, J, r, L, p, y, U, C, o, g, p, J, J, y, E, q, G, I, 6301, 8377, 8191, 9593, 2015, 8157, 4029, 6339, 2587, 6137, 4239, 159, 5927, 9739, 783, 2029, 8631, 5943
****
Q: ['4193', '8331', '9055', '7445', 's', 'h', 'f', '1289', 't', '8239', '1571', '9825', '5283', 'e', '7817', 'J', '3747', '915', '3933', '8667', 'v', '6683', 'q', '8013', 'i', '4759', '6847', 'o', 'U']

A: s, h, f, t, e, J, v, q, i, o, U, 4193, 8331, 9055, 7445, 1289, 8239, 1571, 9825, 5283, 7817, 3747, 915, 3933, 8667, 6683, 8013, 4759, 6847
****
Q: ['8693', 'y', '797', '9485', 'u', 'I', 'F', '359', 'c', '3315', 'Y', '9371', 'Q', 's', 'g', 'I', 'f', 'R', '9941', 'A', 'j', '6021', '45', '5161', 't', 'U', 's', 'a', '3185', '5557', 'R', 'p', '3313', '5985', 's', '2943', '9829', '9803', 'E', '871']

A:
y, u, I, F, c, Y, Q, s, g, I, f, R, A, j, t, U, s, a, R, p, s, E, 8693, 797, 9485, 359, 3315, 9371, 9941, 6021, 45, 5161, 3185, 5557, 3313, 5985, 2943, 9829, 9803, 871
****