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]: ['M', 'G']
[A]: M, G


[Q]: ['u', 'M', 'l', 'F', '5951', '4811', '2237', '9935', 'e', 'w', '5215', 'o', 'b', '9323', 'u', '9215', 'g', '7527', '6297', 'p', '593', '4813', 'Z', '3411', 'k', '5917', '7927', 'y', '1933', 'S', '7151']
[A]: u, M, l, F, e, w, o, b, u, g, p, Z, k, y, S, 5951, 4811, 2237, 9935, 5215, 9323, 9215, 7527, 6297, 593, 4813, 3411, 5917, 7927, 1933, 7151


[Q]: ['9429', '673', 'k', '2423', 'b', '931', 'x']
[A]:
k, b, x, 9429, 673, 2423, 931