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:
['v', 'r']

Ex Output:
v, r


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:
['5335', 'z', '8785', '4767', 'G', 'S', 'Y', '2999', '5393', '2965', 'w', '4949', 'k', '7943', '6139', 'Y', 'z']

Ex Output:

z, G, S, Y, w, k, Y, z, 5335, 8785, 4767, 2999, 5393, 2965, 4949, 7943, 6139