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: ['5039', 'O', 'A', '5619', 'P', '8261', '5983', '1779', 'M', '5919', '3361', '6323']

Output: O, A, P, M, 5039, 5619, 8261, 5983, 1779, 5919, 3361, 6323


Input: Consider Input: ['8903', '8775', '451', 'J', 'H', '4257', 'M', '549', 'A', 'H', '7433', 'D', 'v', 'g', '1261', 'W', '5047']

Output: J, H, M, A, H, D, v, g, W, 8903, 8775, 451, 4257, 549, 7433, 1261, 5047


Input: Consider Input: ['9741', 'H', 'a', '2521', '3641', 'O', '3167', '5507', '9535', 'R']


Output: H, a, O, R, 9741, 2521, 3641, 3167, 5507, 9535