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.
--------
Question: ['G', 'A', '1165', 'O']

Answer: G, A, O, 1165


Question: ['6753', '3445', 'z', 'c', 'p', '2211', 'g', '1373', 'X', 'B', 'k', 'O', 'Q', 'k', '5513', '6365', 'l', '4169', '9629', 'O', '8945', '6927', '6741', 'm', '2815', '9197', 'I']

Answer: z, c, p, g, X, B, k, O, Q, k, l, O, m, I, 6753, 3445, 2211, 1373, 5513, 6365, 4169, 9629, 8945, 6927, 6741, 2815, 9197


Question: ['5127', 'q']

Answer:
q, 5127