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: ['u', 'x', 'x', '905', '2635', 'H', '8797', '1695', '3545', 'e', '9241', '3829', '9471', 'm', '97', 'h', '5031']

Output: u, x, x, H, e, m, h, 905, 2635, 8797, 1695, 3545, 9241, 3829, 9471, 97, 5031


Input: Consider Input: ['L', 'w', 'n']

Output: L, w, n


Input: Consider Input: ['6011', 'U', '5283', 'i', 'B', 'X', 'U']


Output: U, i, B, X, U, 6011, 5283