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: ['G', 'G', '2545', 'c', '2661', '9995', '3151', 'o', '5479', '8223', 'z', '3977', '5659', '3137', '8157', 'o', 'x', 'q', 'E', 'R', 'Z', '3961', 'g', 's']

Output: G, G, c, o, z, o, x, q, E, R, Z, g, s, 2545, 2661, 9995, 3151, 5479, 8223, 3977, 5659, 3137, 8157, 3961


Input: Consider Input: ['8983', '3387', 'A', '7837', '5923', 'f', 'G', '2929', '4447', '8045', 'h', '1391', '8899', 'P', 'K', '2027', '1473', '3891', '1059', 'o', 'f', 'k', '6831', 'o', 'M']

Output: A, f, G, h, P, K, o, f, k, o, M, 8983, 3387, 7837, 5923, 2929, 4447, 8045, 1391, 8899, 2027, 1473, 3891, 1059, 6831


Input: Consider Input: ['J', 'z', '2235', '807', '1857', '1389', 'S', 'a', 'K', '445', '7135', '9611', 'M', '385', 'x', '5725']


Output: J, z, S, a, K, M, x, 2235, 807, 1857, 1389, 445, 7135, 9611, 385, 5725