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: ['B', 'H', 'm', 'S']

Output: B, H, m, S


Input: Consider Input: ['B', '8107', '9083', 'B', '9897', 'a', 'Q', 'k', 'C', 'e', '4681', '5411', '3143', 'j', '835', 'b', 'C', 'H', '3295', '8187', 'z', 'N', '947', '1395', '6893', 'R', 'J', '3361', 'x', '6389']

Output: B, B, a, Q, k, C, e, j, b, C, H, z, N, R, J, x, 8107, 9083, 9897, 4681, 5411, 3143, 835, 3295, 8187, 947, 1395, 6893, 3361, 6389


Input: Consider Input: ['F', '4731', '4239', '2697', 'p', '4059', '9779', 'y', '9903', '7783', '2349']


Output: F, p, y, 4731, 4239, 2697, 4059, 9779, 9903, 7783, 2349