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


question:
['f', 'M', 'x', 'o', '5023', '5547', '7229', 'D', '4431', '9809', 'k', '3997', '8051', 'O', '7487', '7569', 'l', '3151', '4747', '9525', '3159', '5205', 'y', '2871', 'M', 'R']
answer:
f, M, x, o, D, k, O, l, y, M, R, 5023, 5547, 7229, 4431, 9809, 3997, 8051, 7487, 7569, 3151, 4747, 9525, 3159, 5205, 2871


question:
['193', 's', '7363', '5763', 'I', 'l', '325', 'R', 'F', '883', 'z', '8565', 'y', 'w', 'Y', 'j', 'O', '5891', '2153', 'J', '8165', '8155', '791', '7227', '7477', '1245', 'k', 'D', 'Y', 'c', 'w', '2847']
answer:

s, I, l, R, F, z, y, w, Y, j, O, J, k, D, Y, c, w, 193, 7363, 5763, 325, 883, 8565, 5891, 2153, 8165, 8155, 791, 7227, 7477, 1245, 2847