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: ['2277', '9811', '6401', 'V', 'J', 'D', 'z', '3051', '9331', 'u', '5825', 'p', 'P', '4645', 'n', 'T', 'q', 'P', 's', 'V', 'Q', 'H', '3901', 'Y', '271', 'W', '3279', '6065', '1511', '1261', 'E', '5765', '6423', 'l', 'e']

A: V, J, D, z, u, p, P, n, T, q, P, s, V, Q, H, Y, W, E, l, e, 2277, 9811, 6401, 3051, 9331, 5825, 4645, 3901, 271, 3279, 6065, 1511, 1261, 5765, 6423
****
Q: ['M', 'N', 'M', '7683', '2723', '3135', 'G', 'E', '5519', 'D', 'V', '8531', '6151', '7465', 'W', 'X', 'v', '3467', 'i', '335', 'L', 'P', 'f', '6647', '5287', 'N', 's', 'd', '2565', '8403', '3921', '2757']

A: M, N, M, G, E, D, V, W, X, v, i, L, P, f, N, s, d, 7683, 2723, 3135, 5519, 8531, 6151, 7465, 3467, 335, 6647, 5287, 2565, 8403, 3921, 2757
****
Q: ['7757', 'n', 'p', 'd', 'L', 'k', 'A', 'Z', '6917', '1827', '5997', 'v', 'a', '8061', 'a', 'j', '8221', 'g', 'd', '3183', '2157', 'S', 'M', 'k', '425', 'z', 'u', '4493', '3397', '4947', 'K', '6491', 'e', '2053', '383', 'D', '5963']

A:
n, p, d, L, k, A, Z, v, a, a, j, g, d, S, M, k, z, u, K, e, D, 7757, 6917, 1827, 5997, 8061, 8221, 3183, 2157, 425, 4493, 3397, 4947, 6491, 2053, 383, 5963
****