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]: ['Y', '1979', 'c', 'A', 'Y', 'i', 'B']
[A]: Y, c, A, Y, i, B, 1979


[Q]: ['W', 'Z', '9633', '2721', 'T', '1507']
[A]: W, Z, T, 9633, 2721, 1507


[Q]: ['4659', 'd', '4189', '129', 'x', 'O', 'u', 'k', 'o', '6215', 'W']
[A]:
d, x, O, u, k, o, W, 4659, 4189, 129, 6215