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]: ['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]: ['2515', 'O', '4657', '6143', 'e', 'y', 'a', 'y', '3549', 'q', '973', '4535', 't', 'X', '5035', 'T', '9837', '2271', 'w', '5605', 't', 't', '8437']
[A]: O, e, y, a, y, q, t, X, T, w, t, t, 2515, 4657, 6143, 3549, 973, 4535, 5035, 9837, 2271, 5605, 8437


[Q]: ['5287', 'B', '899', 'M', '5349', 'p', 'Z', '7969', 'O', 'u', 'P', 'a', 'x', 'o', '9133', '4585', '5021', '1629', '2453', '4611']
[A]:
B, M, p, Z, O, u, P, a, x, o, 5287, 899, 5349, 7969, 9133, 4585, 5021, 1629, 2453, 4611