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]: ['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]: ['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]: ['4991', 'F', 'o', 'U', '453', 'h', '3631', 'A', '6921', 'I', 'B', '2921', 'A', 'K', '6175', 'x', 'Y', 'x']
[A]:
F, o, U, h, A, I, B, A, K, x, Y, x, 4991, 453, 3631, 6921, 2921, 6175