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.

Input: Consider Input: ['5485', 'w', '7935', '1983', '2113', '4279', '4977', 'M', 'h', '1629', '6241', '5985', 'e', '8249', '477', '1569', '9565', 'J', '8615', 's', 'i', 'z', '4129', '5901', 't', 'R', 'M', '9927', '9253', 'd', '3571', '4179']

Output: w, M, h, e, J, s, i, z, t, R, M, d, 5485, 7935, 1983, 2113, 4279, 4977, 1629, 6241, 5985, 8249, 477, 1569, 9565, 8615, 4129, 5901, 9927, 9253, 3571, 4179


Input: Consider Input: ['e', 'g', '7515', '2789', 'b', 'H', '8535', '137', '7261', '7601', '1781', '6419', 'P', 'L', '6473', 'G', '8555', 'C', 'G', '1049', 'x', '4249', '729', 'n', 'y', '2667', '2447', 'w', 'r', '5949', 'M', 'I', 'L', 'i', 't', 'j', '267', '1351']

Output: e, g, b, H, P, L, G, C, G, x, n, y, w, r, M, I, L, i, t, j, 7515, 2789, 8535, 137, 7261, 7601, 1781, 6419, 6473, 8555, 1049, 4249, 729, 2667, 2447, 5949, 267, 1351


Input: Consider Input: ['5395', 'd']


Output: d, 5395