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]: ['f', 'x', '4821', 'u', '8525', 'T', 'm', '5453', '2533', '9243', '4645', '6895', 'h', 'w', 'p', 's', 'E', '2107', '7711', 'z', '2817', 'g']
[A]: f, x, u, T, m, h, w, p, s, E, z, g, 4821, 8525, 5453, 2533, 9243, 4645, 6895, 2107, 7711, 2817


[Q]: ['y', '7575', '3941', 'a', '8857', '2961', 'j', '1697', '881', '1783', '9711', '2719', 'Y', 'w', '3065', 'f', 'a', 'I', '7251', 'F', 'o', '5807', '3183', '4971', 'c', '123', 'g', 'o', '7231', '6599', '4687', '563', 'p', '8679']
[A]: y, a, j, Y, w, f, a, I, F, o, c, g, o, p, 7575, 3941, 8857, 2961, 1697, 881, 1783, 9711, 2719, 3065, 7251, 5807, 3183, 4971, 123, 7231, 6599, 4687, 563, 8679


[Q]: ['s', 'r', '2083', '4491', 'o', 'z', 'Y', '3305', '5197', 'P', '4519', '7495', 'Z', '6687', 'R', 'k', 'p', 'R', '5569', 'z', '7979', '6133', 'n', 'd', 'r', '3473', 'v', '13', '8121', '4981', '7171', '3841', '1931', 'w', 'H', '1351', 'V', 't']
[A]:
s, r, o, z, Y, P, Z, R, k, p, R, z, n, d, r, v, w, H, V, t, 2083, 4491, 3305, 5197, 4519, 7495, 6687, 5569, 7979, 6133, 3473, 13, 8121, 4981, 7171, 3841, 1931, 1351