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]: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']
[A]: Z, a, x, m, f, p, 3217, 5145


[Q]: ['c', 'z', 'I', 'F', 'q', 'b', '537', '9541', 'f', '2183', 'O', 'E', '5539', '1041', 'F', '8297', 'e', '5447', '4593', 'D', '3317', '2469', '4043', 'L', 'i', '23', 'Q', 'P', 'C', '1939', 'h', '5293', '7959', 'm', '1863', 'o', '9637', '5609', 's']
[A]: c, z, I, F, q, b, f, O, E, F, e, D, L, i, Q, P, C, h, m, o, s, 537, 9541, 2183, 5539, 1041, 8297, 5447, 4593, 3317, 2469, 4043, 23, 1939, 5293, 7959, 1863, 9637, 5609


[Q]: ['F', 'p', '3419', '7807', '7077', 'K', 'u', 'K', 'G', '7789', 'I', '3809', '2863', 'l', 'E', '3467', '6705', '9601', 'z', '2747', 'N', '6149', '4215', 'n', 'n', 'T']
[A]:
F, p, K, u, K, G, I, l, E, z, N, n, n, T, 3419, 7807, 7077, 7789, 3809, 2863, 3467, 6705, 9601, 2747, 6149, 4215