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: ['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: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']

Output: Z, a, x, m, f, p, 3217, 5145


Input: Consider Input: ['J', 'y', '8423']


Output: J, y, 8423