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]: ['5063', '7759', 'Y', '2415', 'p', 'R', 'S', '2313', 'i', '7155', 'z', 'R']
[A]: Y, p, R, S, i, z, R, 5063, 7759, 2415, 2313, 7155


[Q]: ['7361', 'H', 'd', '1811', '8801', 'D', '245', 'i', 'q', '4507', '3811', '4643', '5653', '5799', 'A', 'Q', 'X', 'i', '1595', 'U', 'X', 'z', 'X', '3265', 'O', 'j', 'n', '573', 'A', 'J', '769', '5933', 's', 'I', '9749']
[A]: H, d, D, i, q, A, Q, X, i, U, X, z, X, O, j, n, A, J, s, I, 7361, 1811, 8801, 245, 4507, 3811, 4643, 5653, 5799, 1595, 3265, 573, 769, 5933, 9749


[Q]: ['4165', '7851', '247', '8987', 'T', 's', '4405', 'i', '8353', '6041']
[A]:
T, s, i, 4165, 7851, 247, 8987, 4405, 8353, 6041