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]: ['E', 'u', 'Z', 'S', 'p', 'F', 'q']
[A]: E, u, Z, S, p, F, q


[Q]: ['169', '2703', 'M', 'g', 'M', 'l', '5883', 'v', 'T', 'n', '7003', 'n', '3073', 'B', 'S', 'P', 'G', 'K', 'l', '4799', 'm']
[A]: M, g, M, l, v, T, n, n, B, S, P, G, K, l, m, 169, 2703, 5883, 7003, 3073, 4799


[Q]: ['3731', 'Q', 'X', '2139', 'Z', '5267', 'E', '8627', '2503', '1653', 'b', 'Z', '7655', '4443', 'q', 'e', 'H', 'T', 'K', 'v', '8399', '8663', 'q', 'Q', 'n', '1389', 'q', 'z', 'D', 'c', 'U']
[A]:
Q, X, Z, E, b, Z, q, e, H, T, K, v, q, Q, n, q, z, D, c, U, 3731, 2139, 5267, 8627, 2503, 1653, 7655, 4443, 8399, 8663, 1389