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: ['x', 'v', 'H', 'M', '1989', 's', 'n', 'g', '877', 'u', 'A', 'y', 'W', '2071', '1865', '7385', 'a', '7009', 'n', 'E', 'r', '9967', '8657', 'o', 'T', '4899', 'p', 'V', 'O', 'l', 'J']

Output: x, v, H, M, s, n, g, u, A, y, W, a, n, E, r, o, T, p, V, O, l, J, 1989, 877, 2071, 1865, 7385, 7009, 9967, 8657, 4899


Input: Consider Input: ['81', 'c', '2003', 'X', 'w']

Output: c, X, w, 81, 2003


Input: Consider Input: ['u', 'E']


Output: u, E