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', '8365', 'C', '9185', 'd', 'Z', 'R', '2537', 'r', '5021', '7251', '8567', '4061', '3311', '6439', '5359', 'x', '9931', '87', '2169', '9021', '195', 'N', 'o', 'K', '747', 'h', '6187', 'x', 'n', 'p', '1219', 'P', '4661', 'c', 'm', '5775', 'u', '5929', 'G']

A: S, C, d, Z, R, r, x, N, o, K, h, x, n, p, P, c, m, u, G, 8365, 9185, 2537, 5021, 7251, 8567, 4061, 3311, 6439, 5359, 9931, 87, 2169, 9021, 195, 747, 6187, 1219, 4661, 5775, 5929
****
Q: ['t', '861', 'u', 'm', '805', '8481', '4481', '3417', 'i', 'J', '4793', '6811', '4997', '907', 'K', '7877', 'j', 'C', '551', 'C', 'R', '6081', 'X']

A: t, u, m, i, J, K, j, C, C, R, X, 861, 805, 8481, 4481, 3417, 4793, 6811, 4997, 907, 7877, 551, 6081
****
Q: ['6523', 'i', '8577', '4521', '4853', 'V', '3113', 'Y', '2495', '5101', 'a', '8797', '9613', '4575', 'W', 'v', 'y', 'X', 'T', 'V', 's', 'z', 'B', 'Y', '8977', '2085', 'q', 'l', 'j', '4411', 'c']

A:
i, V, Y, a, W, v, y, X, T, V, s, z, B, Y, q, l, j, c, 6523, 8577, 4521, 4853, 3113, 2495, 5101, 8797, 9613, 4575, 8977, 2085, 4411
****