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]: ['n', '157', 'F', 'a', 'y', 'r', 'R', 'v', '9255', 'R', '2983', '6891', 'y', 'J', '767', 'T', 'a', '2319', 'i', 'p', '9905', '4439', 'v', 'z', '2223', 'U', '93', 'z', '3697', '107', '5911']
[A]: n, F, a, y, r, R, v, R, y, J, T, a, i, p, v, z, U, z, 157, 9255, 2983, 6891, 767, 2319, 9905, 4439, 2223, 93, 3697, 107, 5911


[Q]: ['x', 'u', '6687', '3617', '4795', '3665', 'A', '4355', '9183', '3477', 'B', 'P', 't', 'L', 'G', 'o', 'c', 'U', 'n', '1453', '2499', 'B', 's', 'd', 'm', 'n', '959', 'K', 'H', '9159', 'H', '8191', 'B', '4837', '9287', '7891', '8529', '3229', '377']
[A]: x, u, A, B, P, t, L, G, o, c, U, n, B, s, d, m, n, K, H, H, B, 6687, 3617, 4795, 3665, 4355, 9183, 3477, 1453, 2499, 959, 9159, 8191, 4837, 9287, 7891, 8529, 3229, 377


[Q]: ['z', 'm', '4023', '8231', '2315', '7029', '8783', '7327', 'y', 'N', 'j', '6655', 'n', '6017', 'G', '351', 'g', '7575', '2897', '2851', 'S', '3415', 'O', 'H']
[A]:
z, m, y, N, j, n, G, g, S, O, H, 4023, 8231, 2315, 7029, 8783, 7327, 6655, 6017, 351, 7575, 2897, 2851, 3415