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]: ['f', 'x', '4821', 'u', '8525', 'T', 'm', '5453', '2533', '9243', '4645', '6895', 'h', 'w', 'p', 's', 'E', '2107', '7711', 'z', '2817', 'g']
[A]: f, x, u, T, m, h, w, p, s, E, z, g, 4821, 8525, 5453, 2533, 9243, 4645, 6895, 2107, 7711, 2817


[Q]: ['6613', 'L', '2091', 'd', '6243', '6159', '7853', 'q', '1383', '4761', 'P', '3547', 'i', '5319', 'v', '2209', '3085', '3563', 'h', 'r', 's', 'I', 'F', 'Q', '1429', '9731', 'E', '4879', '1507', 'B', 'D', '2507', '295', '7197', '4025', '7091', 'X']
[A]: L, d, q, P, i, v, h, r, s, I, F, Q, E, B, D, X, 6613, 2091, 6243, 6159, 7853, 1383, 4761, 3547, 5319, 2209, 3085, 3563, 1429, 9731, 4879, 1507, 2507, 295, 7197, 4025, 7091


[Q]: ['P', 'j', '9959', '6313', '4753', '2479', 'K', '4245', 'v', '587', 'o', 'M', '8627', '7761', '9147', '8587', '8159', '6255', 'k', '9155', '8099', '4913', '2949', 'F', '2959', 'x']
[A]:
P, j, K, v, o, M, k, F, x, 9959, 6313, 4753, 2479, 4245, 587, 8627, 7761, 9147, 8587, 8159, 6255, 9155, 8099, 4913, 2949, 2959