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]: ['S', 'i', 'o', '8643', 'R', '2321', 'c', 'a', 'Z', 'i', '1365', 'h', '8479', 'R', 'E', '6285', '1867', 'W', 'S', '9925', 'U', '5973', '8197', '39', 'N', 'E', '495', '5865', 'k', '7327', 'N', '167', '7871', 'u', 'w', 'L', '8495']
[A]: S, i, o, R, c, a, Z, i, h, R, E, W, S, U, N, E, k, N, u, w, L, 8643, 2321, 1365, 8479, 6285, 1867, 9925, 5973, 8197, 39, 495, 5865, 7327, 167, 7871, 8495


[Q]: ['9297', '4887', '3421', '2815', '5975', '1767', '2201', 'z', 'Z', '6543', '6865', '709', '6907', 'B', 'Q', 'h', '9195', 'z', 'g', 'y', '4243', '839', 'R', 'I']
[A]: z, Z, B, Q, h, z, g, y, R, I, 9297, 4887, 3421, 2815, 5975, 1767, 2201, 6543, 6865, 709, 6907, 9195, 4243, 839


[Q]: ['N', '657', 'L', 'Q', '8285', '6701', '4945', '9771', 'V', '9359', 'X', 'P', '1073', '6263', '9437', '5927', 'M', 'Z', 'M', 'e', '1375', 'R', 'a', '5393', 'f', 'Q', '2323', 'Z', 'N', 'Q', '4329', 'K', 'Y']
[A]:
N, L, Q, V, X, P, M, Z, M, e, R, a, f, Q, Z, N, Q, K, Y, 657, 8285, 6701, 4945, 9771, 9359, 1073, 6263, 9437, 5927, 1375, 5393, 2323, 4329