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]: ['779', 'o', 'y', 'L', '6201', 'Y', 'k', '9881', '3343', 'x', 'Y', '2663', '5601', '2189', 'N', 'O', '3319', '6087', 'B', '6675', '5369', '9301', 'm', 'j', 'e', '8207', 'x', 'K', 'z', '9081', '6049', '209', 'y', '889', '5287']
[A]: o, y, L, Y, k, x, Y, N, O, B, m, j, e, x, K, z, y, 779, 6201, 9881, 3343, 2663, 5601, 2189, 3319, 6087, 6675, 5369, 9301, 8207, 9081, 6049, 209, 889, 5287


[Q]: ['1635', 'y', 'O', 'c', '5409', '9327', 'X', 'X', 'O', '5781', '675', 'Y', 'K', '4147', 'x', 'I', 'J', '8755', '6779', 'Y', 'u', 'F', 'i', 'p', 'T', '2503', '7883', '8253', 'A', 'T', 'g', '6165', '7995']
[A]: y, O, c, X, X, O, Y, K, x, I, J, Y, u, F, i, p, T, A, T, g, 1635, 5409, 9327, 5781, 675, 4147, 8755, 6779, 2503, 7883, 8253, 6165, 7995


[Q]: ['2363', 'X', 'Z', 'm', '337', '7349', '2147', '5353', '4475', 'U', 'f', 'o', '4719', 'y', '3709', '453', '9097', 'T', '7391']
[A]:
X, Z, m, U, f, o, y, T, 2363, 337, 7349, 2147, 5353, 4475, 4719, 3709, 453, 9097, 7391