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: ['7407', '9439', 'U', '5683', 'J', '6189', '6435', 'M', '6159', '8827', '2051', '1953', 'H', '5143', '7409', 'F', '3141', '1403', '7981']

Output: U, J, M, H, F, 7407, 9439, 5683, 6189, 6435, 6159, 8827, 2051, 1953, 5143, 7409, 3141, 1403, 7981


Input: Consider Input: ['n', '5329', '7635', 'D', 'D', 'Y', '3097', 'Q', 'S', 'e', '4525', '5485', '6717', 'q', '7315', 'X', '8971', 'd', 'M', '407', '4931', 'o', '139']

Output: n, D, D, Y, Q, S, e, q, X, d, M, o, 5329, 7635, 3097, 4525, 5485, 6717, 7315, 8971, 407, 4931, 139


Input: Consider Input: ['2935', 'Z', '5685', 'j', 'K', '2273', 'y', 'D', 'Q', '6123']


Output: Z, j, K, y, D, Q, 2935, 5685, 2273, 6123