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.

Ex Input:
['2217', '9971', 'M', 'f', '407', 'q', '1233', 'f', '6335', '8037', 'l', 'Z', 'w', '8193', '891', 'X', '7163', 'P']

Ex Output:
M, f, q, f, l, Z, w, X, P, 2217, 9971, 407, 1233, 6335, 8037, 8193, 891, 7163


Ex Input:
['1521', 'R', '3695', '6547', 'e', 'q', 'S', '2639', '3099', '967', '4651', 'v', 'r', '4143', 'H', 'D', 'Q', '7183', 'O', 'Z', 'v', '7663', 'v', 'm', 'P']

Ex Output:
R, e, q, S, v, r, H, D, Q, O, Z, v, v, m, P, 1521, 3695, 6547, 2639, 3099, 967, 4651, 4143, 7183, 7663


Ex Input:
['6777', '9975', 'j', 'Y']

Ex Output:

j, Y, 6777, 9975