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', 'D', 'z', 'I', 'H', 'a', 'U', '8661', '8367', 'B', '1349', 'z']

Output: m, D, z, I, H, a, U, B, z, 8661, 8367, 1349


Input: Consider Input: ['H', 'x', '959', 'J', 'p', '7515', '1861', '9627', '7409', '9055', '1595', 'h', 'i', 'F', '3911', 'G', 's', '2969', '5329', '3219', 'Q', 'k', 'r', 'l', 'o', 'F', '4987', '1231', 'V', '4403', 'Q', 's', 'B']

Output: H, x, J, p, h, i, F, G, s, Q, k, r, l, o, F, V, Q, s, B, 959, 7515, 1861, 9627, 7409, 9055, 1595, 3911, 2969, 5329, 3219, 4987, 1231, 4403


Input: Consider Input: ['4047', '3047', 'z', 'V', 'b', '9881', '1707', '607', '5473', 'k']


Output: z, V, b, k, 4047, 3047, 9881, 1707, 607, 5473