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]: ['4849', 'a', 'S', '1949', '3149', 'N', 'U', 'U', 'Y', '8719', '95', 'W', 'N', 'K', 'Y', 'h', '8043', '3017', 'r', 'e', 'q', 'd', 'x', '7791', '751', 'x', '153', 'd', '7211', 'c', 'y', '3711', '6429', '3663']
[A]: a, S, N, U, U, Y, W, N, K, Y, h, r, e, q, d, x, x, d, c, y, 4849, 1949, 3149, 8719, 95, 8043, 3017, 7791, 751, 153, 7211, 3711, 6429, 3663


[Q]: ['Z', '2429', 'V', 'a', 'a', 'C', '325', 'a', '5107', '2665', '4305', 'R', 'z', '6109', 'Y', 'W', '1261', 'r', 'H', '1563', '5811', 'z', '5627', 'k', '529', 'e', '9687', 'G', 'K', 'E', '401', '8925', '4555', '8603', '8345', '3151', '1367']
[A]: Z, V, a, a, C, a, R, z, Y, W, r, H, z, k, e, G, K, E, 2429, 325, 5107, 2665, 4305, 6109, 1261, 1563, 5811, 5627, 529, 9687, 401, 8925, 4555, 8603, 8345, 3151, 1367


[Q]: ['A', 'n', 'Y', 'L', 'Q', 'V', '1143', '7837', '8229', 'S', 'N', '1147', 'B', 'D', '7929', 'a', '4683', 'b']
[A]:
A, n, Y, L, Q, V, S, N, B, D, a, b, 1143, 7837, 8229, 1147, 7929, 4683