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]: ['C', 'l', 'm', 'i', '5697', '6923', '4875', 'N', 'E', '8035', 'I', 'h', 'K', 'x', 'q', '645', '9387', 'Z', '4217', 'm']
[A]: C, l, m, i, N, E, I, h, K, x, q, Z, m, 5697, 6923, 4875, 8035, 645, 9387, 4217


[Q]: ['1243', '6133', '7145', '4061', '4919', 'y', '2955', '2707', 'y', 'w', 'P', 'c', '6387', '5119', 'c', 'B', 'N', '4849', '7999', '4571', 'U', 'M', 'S', '5981', 'n']
[A]: y, y, w, P, c, c, B, N, U, M, S, n, 1243, 6133, 7145, 4061, 4919, 2955, 2707, 6387, 5119, 4849, 7999, 4571, 5981


[Q]: ['8325', 'h', 'w', '5989', '9001', '2173', 'u', '6097', 'R', 'U', 'Z', '3665', 'R']
[A]:
h, w, u, R, U, Z, R, 8325, 5989, 9001, 2173, 6097, 3665