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: ['k', 'Z']

Output: k, Z


Input: Consider Input: ['g', 'g', '9271', 'D', '9667', 'x', '117', 'E', '4013', 'D', 'M', 'Y', '3887', '5931', '273', '5333', 'Q', '1303', '4517']

Output: g, g, D, x, E, D, M, Y, Q, 9271, 9667, 117, 4013, 3887, 5931, 273, 5333, 1303, 4517


Input: Consider Input: ['j', '8361', '3687', 'O', '1485', 'H', '3299', 'W', 'h', '6487', '5863', '7749', '1337', 't', 'p', '3407', '6515', '7499', 'D', '41', '2303', 'E', '6877', 'w', '1595', '6871', 'B', 'L', 'j', 'n', 'P', 'k', '7099', '7311', 'p']


Output: j, O, H, W, h, t, p, D, E, w, B, L, j, n, P, k, p, 8361, 3687, 1485, 3299, 6487, 5863, 7749, 1337, 3407, 6515, 7499, 41, 2303, 6877, 1595, 6871, 7099, 7311