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: ['l', '9043', 'g', 'k', 'u', 'U', 'Q', '6049', 'M', 'y', 'X', '2547', '4653', '1049', 'v', 'd', 'k', '1077', 'i', '3841', 'U', 'n']

A: l, g, k, u, U, Q, M, y, X, v, d, k, i, U, n, 9043, 6049, 2547, 4653, 1049, 1077, 3841
****
Q: ['2891', '2069', '497', '7927', 'S', '8211', 'g', 'X', '8385', '9813', 'W', '2619', '5449', '6807', 'n', 'f', '1949', '1747', '6579', 'x', 'Q', '9445', 'g', 'L', 'J', 'v', 'B']

A: S, g, X, W, n, f, x, Q, g, L, J, v, B, 2891, 2069, 497, 7927, 8211, 8385, 9813, 2619, 5449, 6807, 1949, 1747, 6579, 9445
****
Q: ['433', '6809', '6129', 'o', 'X', 'W', '4221', '5481', '9885', 'm', 'h', '9239', 'F', 'X', 'B', 'q', 'v', 'd', 'M', 'a', '2791', 'm', '8473', 'M', '1787', '7645']

A:
o, X, W, m, h, F, X, B, q, v, d, M, a, m, M, 433, 6809, 6129, 4221, 5481, 9885, 9239, 2791, 8473, 1787, 7645
****