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]: ['6363', 'O', 'N', 'j', 'D', '3135', 'g', '7375', '8007', 'P', 'G', '139', '6319', 'K', '2171', 'p', '2263', '8693', 'Y', 'K', '9219', 'f', 'c', 'z', '6857', '4409', 'V', 'n', 'n', '1717', '2023', '961', '6727', '4713', 'i', '8629', 'T', '1637', '2599']
[A]: O, N, j, D, g, P, G, K, p, Y, K, f, c, z, V, n, n, i, T, 6363, 3135, 7375, 8007, 139, 6319, 2171, 2263, 8693, 9219, 6857, 4409, 1717, 2023, 961, 6727, 4713, 8629, 1637, 2599


[Q]: ['9145', '6639', 'l', 'T', 's', 'X', '1485', '7971', 'P', '8157', 'E', '3797', 'c', '1981', 'j', 'j', '83', 's', '7441', 'J', 'z', 'q', 'n', '5063', 'U', 'D', '2213', 'c', '7307', 'C', 'x', 'K', 'W', 'K', '1671', '5895', 's', 'p', 'S']
[A]: l, T, s, X, P, E, c, j, j, s, J, z, q, n, U, D, c, C, x, K, W, K, s, p, S, 9145, 6639, 1485, 7971, 8157, 3797, 1981, 83, 7441, 5063, 2213, 7307, 1671, 5895


[Q]: ['H', 'o', '5461', '657', '6605', '8611', '3751', 'G', '3295', 'n']
[A]:
H, o, G, n, 5461, 657, 6605, 8611, 3751, 3295