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]: ['P', '6987', '9279', 'c', 'A', '9533', 'X', '8511', 's', 'O', 'i', 'a', '4939']
[A]: P, c, A, X, s, O, i, a, 6987, 9279, 9533, 8511, 4939


[Q]: ['7349', '6683', '5643', '7759', 'L', '8405', '3271', 'P', 'F', 'H', 'Q', 'j', 'c', 'f']
[A]: L, P, F, H, Q, j, c, f, 7349, 6683, 5643, 7759, 8405, 3271


[Q]: ['5119', 'n', '7967', '665', '5117', 'G', 'H', 'W', '3507', 'k', '7699', '6511', 'q', '5235', 'E', 'H', 'V', 'w']
[A]:
n, G, H, W, k, q, E, H, V, w, 5119, 7967, 665, 5117, 3507, 7699, 6511, 5235