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]: ['J', 'o', 'u', '8973', 'x', 'U', '7579', '8181', 'I', 'b', '2851', 'e', '7695', 'N', 'E', 'A', '6085', 'n', '1039', 'y', '2549', 'N', 'H', '4509', 'g', '3735', 'm', 'B', '6261', '9175', 'p', 'J', 'f', 't', 'v', '1943', 'h', 'c', '8217']
[A]: J, o, u, x, U, I, b, e, N, E, A, n, y, N, H, g, m, B, p, J, f, t, v, h, c, 8973, 7579, 8181, 2851, 7695, 6085, 1039, 2549, 4509, 3735, 6261, 9175, 1943, 8217


[Q]: ['8985', '845', 'y', 'T', 'g', 'a', 'C', '3091', 'r', '5843', 'z', 'V', '5503', '691', '6113', '9743', 'R', '955', 'b', '5593', '2569', '2945', '7951', '8207', '4507', 'R', '2287', '5545']
[A]: y, T, g, a, C, r, z, V, R, b, R, 8985, 845, 3091, 5843, 5503, 691, 6113, 9743, 955, 5593, 2569, 2945, 7951, 8207, 4507, 2287, 5545


[Q]: ['333', '5981', '755', '2167', '4907', 'K', '3767', '535', 'H', '5199', 'K', 'V', 'J', 'k', 'M', 'x', '2107', 'C', 'm', 'y', 'f', 'b', '9225', '2017', 'o', '1133', 'E', '3879', 'v', 'a', 'm', 'S', '6299', 'x', 'b', 'D', 'M']
[A]:
K, H, K, V, J, k, M, x, C, m, y, f, b, o, E, v, a, m, S, x, b, D, M, 333, 5981, 755, 2167, 4907, 3767, 535, 5199, 2107, 9225, 2017, 1133, 3879, 6299