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', 'T', 'u', '2001', '707', '4653', '7771', 'r', '4065', '2851', 'a', 'A', 'n', '7753', '4291']
[A]: f, T, u, r, a, A, n, 2001, 707, 4653, 7771, 4065, 2851, 7753, 4291


[Q]: ['9829', '5959', '1309', 'p', 'e', '4643', '5113', 'Z', '8103', 'f', 'p', 'B', 'D', '5305', 'U', '1867', 'r', 'K', '5249', 'w', 'Z', 'y', 'O', 'b', 'F', '9713', 'F', 'Z', 'l', '4163', '7839', '9779', '4343', 'A']
[A]: p, e, Z, f, p, B, D, U, r, K, w, Z, y, O, b, F, F, Z, l, A, 9829, 5959, 1309, 4643, 5113, 8103, 5305, 1867, 5249, 9713, 4163, 7839, 9779, 4343


[Q]: ['i', 'i', '7107', 'p', 'v', 'p', '5907', '4543', 'u', '4641', 'q', '377', '6719', '2997', 'B', '2709', '1739', '5883']
[A]:
i, i, p, v, p, u, q, B, 7107, 5907, 4543, 4641, 377, 6719, 2997, 2709, 1739, 5883