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:
['7171', 'N', '463', 'w', 'd', 'T', '7361', 'C', 'n', 'Y', 'x', '5805', 'K', '9973', 'X', '6789', '2683', 'p', 'X', 's', '3335', 'N', 'c', '4319', '6047', 'r', '4847', '3493', '2195', 'e', 'G', 'G', 'k', 'w', '4969', 'g']

Ex Output:
N, w, d, T, C, n, Y, x, K, X, p, X, s, N, c, r, e, G, G, k, w, g, 7171, 463, 7361, 5805, 9973, 6789, 2683, 3335, 4319, 6047, 4847, 3493, 2195, 4969


Ex Input:
['Y', 'M', '2647', 's', '7917', 'p', '3605', '5895', 'k', '4215', '9063', 'T', '5345']

Ex Output:
Y, M, s, p, k, T, 2647, 7917, 3605, 5895, 4215, 9063, 5345


Ex Input:
['s', 'v']

Ex Output:

s, v