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: ['U', '3969', 'X', 'D', '1321', '749', '6621', 'f', 'd', 'i', 's', '8399', 'P', '9363', '495', 'e', 'o']

A: U, X, D, f, d, i, s, P, e, o, 3969, 1321, 749, 6621, 8399, 9363, 495
****
Q: ['169', '2703', 'M', 'g', 'M', 'l', '5883', 'v', 'T', 'n', '7003', 'n', '3073', 'B', 'S', 'P', 'G', 'K', 'l', '4799', 'm']

A: M, g, M, l, v, T, n, n, B, S, P, G, K, l, m, 169, 2703, 5883, 7003, 3073, 4799
****
Q: ['M', '3789', 'n', '8531', 'u', 'b', 'm', '6263', '1629', '583', '9381', '7685', 'k', 'O', '5611', 'S', '5005', '1217', '353', 'M', 's', 'm', '5551', '7719', '6151', '9235', 'i', '7389', 'O', 'e', '3825', 'g']

A:
M, n, u, b, m, k, O, S, M, s, m, i, O, e, g, 3789, 8531, 6263, 1629, 583, 9381, 7685, 5611, 5005, 1217, 353, 5551, 7719, 6151, 9235, 7389, 3825
****