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', '5785', 'N', 'n', 'Q', '7145', '7247', 'w', '4877', '9477', 'z', 'i', 'T', 'D', '4815', 'd', 'X', 'V', '3411', 'a', 'J', 'v', '5259', 'C', 'z', 'w', '99', '2905', '2897', 'k', '6537', 's', 'q', 'W', '5537', 'K']

Output: M, N, n, Q, w, z, i, T, D, d, X, V, a, J, v, C, z, w, k, s, q, W, K, 5785, 7145, 7247, 4877, 9477, 4815, 3411, 5259, 99, 2905, 2897, 6537, 5537


Input: Consider Input: ['5059', 'C', '7271', '1145', 'G', 'k', 'H', '1531', '6343', 'u', '2799', 'E', 'o', '253', '223', '8043', '2257', '1065', '5991', 'W']

Output: C, G, k, H, u, E, o, W, 5059, 7271, 1145, 1531, 6343, 2799, 253, 223, 8043, 2257, 1065, 5991


Input: Consider Input: ['w', '1477', 'M', '9511', '4529', 'l', '1027', 'q']


Output: w, M, l, q, 1477, 9511, 4529, 1027