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: ['m', '3101', '8627', 'p', '5923', 'S', 'Z', '37', '5807', 'N', 'U', '4511', '1065', '173', 'J', '1343', 't', '2081', 'd', '6249', '527', 'z', 'i', '5497', '2309', 'N', 'g', 'U', '6609', 'L', '7373', '6897', '1361', '8413', 'b', 'k', 'Y']

Output: m, p, S, Z, N, U, J, t, d, z, i, N, g, U, L, b, k, Y, 3101, 8627, 5923, 37, 5807, 4511, 1065, 173, 1343, 2081, 6249, 527, 5497, 2309, 6609, 7373, 6897, 1361, 8413


Input: Consider Input: ['8987', 'M', 'u', 'd', '6277', '4233', 'y', 'D', 'd', '3387', 'n', '9509', '987', 'S', 'c', '6843', '587', '3545', 'Q', 'B', '779', '9547', 'c', 'r']

Output: M, u, d, y, D, d, n, S, c, Q, B, c, r, 8987, 6277, 4233, 3387, 9509, 987, 6843, 587, 3545, 779, 9547


Input: Consider Input: ['x', 'p', 'I', 's', '2097', 'd', '379', '1279', 'G', 'b', 'b', 'i', 'D', '1141', '8195', 'I', 'B', '9519', '5565', '1673', 'a', 'f', '4423', 'u', 'G', '6575', 'T', '5597', 'f', '3713']


Output: x, p, I, s, d, G, b, b, i, D, I, B, a, f, u, G, T, f, 2097, 379, 1279, 1141, 8195, 9519, 5565, 1673, 4423, 6575, 5597, 3713