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', 'j', '4971', '6923', '961', 'a', 'U', '3943', '6291', 'f', 'w', 'U', '5505', 'Y', '2691', 'u', 'U', '37', 'b', 'i', 'a', 'j', 'w', '5023', '7501', 'q', '8535', 'J', 'q', 'd', '8981', 'X']
answer:
G, j, a, U, f, w, U, Y, u, U, b, i, a, j, w, q, J, q, d, X, 4971, 6923, 961, 3943, 6291, 5505, 2691, 37, 5023, 7501, 8535, 8981


question:
['4779', '4483', 'z', '8063', '3057', 'i', '4317', '2349', 's', '7385', '6717', 'S', 'y', 'p', 'O', 'T', 'x', '9253', 'Q', 'I', 'w']
answer:
z, i, s, S, y, p, O, T, x, Q, I, w, 4779, 4483, 8063, 3057, 4317, 2349, 7385, 6717, 9253


question:
['j', 'M', '7565', '6999', 'b', 'o', 'B', 'M', 'V', '8915', '2299', '2433', '569', 'H', '8823', 'z', '8867', 'D', '9439', '9273', 'c', '333', '7639']
answer:

j, M, b, o, B, M, V, H, z, D, c, 7565, 6999, 8915, 2299, 2433, 569, 8823, 8867, 9439, 9273, 333, 7639