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: ['n', '5465', '5621', '9305', 'p']

Output: n, p, 5465, 5621, 9305


Input: Consider Input: ['Z', '6277', '2029', 'w', '6679', '9161', 'P', 'N', 'v']

Output: Z, w, P, N, v, 6277, 2029, 6679, 9161


Input: Consider Input: ['f', 'M', 'x', 'o', '5023', '5547', '7229', 'D', '4431', '9809', 'k', '3997', '8051', 'O', '7487', '7569', 'l', '3151', '4747', '9525', '3159', '5205', 'y', '2871', 'M', 'R']


Output: f, M, x, o, D, k, O, l, y, M, R, 5023, 5547, 7229, 4431, 9809, 3997, 8051, 7487, 7569, 3151, 4747, 9525, 3159, 5205, 2871