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: ['w', 'F', '6171', '3681', 'O', 'h', 'c', '1121', '8275', '3969', '5159', '351', '3691', 'Q', '4225', '7209', '2767', '6167', '951', 'C', 'K', 'G']

Output: w, F, O, h, c, Q, C, K, G, 6171, 3681, 1121, 8275, 3969, 5159, 351, 3691, 4225, 7209, 2767, 6167, 951


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: ['u', '3915', 'a', '6445', '8785', 'Y', '7567', 'e', '7063', 'p', 'K', '7917', 'G', 'v', '4407', '3679', 'o', '5433', '2131', 'P', '4449']


Output: u, a, Y, e, p, K, G, v, o, P, 3915, 6445, 8785, 7567, 7063, 7917, 4407, 3679, 5433, 2131, 4449