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', 'M', 'x', 'o', '5023', '5547', '7229', 'D', '4431', '9809', 'k', '3997', '8051', 'O', '7487', '7569', 'l', '3151', '4747', '9525', '3159', '5205', 'y', '2871', 'M', 'R']

A: f, M, x, o, D, k, O, l, y, M, R, 5023, 5547, 7229, 4431, 9809, 3997, 8051, 7487, 7569, 3151, 4747, 9525, 3159, 5205, 2871
****
Q: ['q', 'l', '989', '1783', 'm', '5', 'B', '2519', 't', 'u', '711', '7713', '8415', '2203']

A: q, l, m, B, t, u, 989, 1783, 5, 2519, 711, 7713, 8415, 2203
****
Q: ['L', 'V', 'h', '3389', '5977', 'k', '4483', 'Z', '8365', 'Q', 's', 'i', '2515', '77', '6903', 'f', '2233', 'T', '1065', '1545', 'Z', 'w', '6451', '6285', '1657', 'C']

A:
L, V, h, k, Z, Q, s, i, f, T, Z, w, C, 3389, 5977, 4483, 8365, 2515, 77, 6903, 2233, 1065, 1545, 6451, 6285, 1657
****