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:
['S', 'a', '6301', '8377', 'H', '8191', '9593', 'b', 'k', '2015', 'J', 'r', 'L', '8157', '4029', '6339', '2587', '6137', 'p', 'y', 'U', '4239', 'C', '159', '5927', '9739', 'o', 'g', '783', 'p', '2029', '8631', '5943', 'J', 'J', 'y', 'E', 'q', 'G', 'I']
answer:
S, a, H, b, k, J, r, L, p, y, U, C, o, g, p, J, J, y, E, q, G, I, 6301, 8377, 8191, 9593, 2015, 8157, 4029, 6339, 2587, 6137, 4239, 159, 5927, 9739, 783, 2029, 8631, 5943


question:
['7065', 'q', 'P', 'E', 'O', 'A', 'z', '8863', 't', 'L', 'v', 'n', '2159', '7027', '3179', 'u', '7143', '4687', 'K', '9581']
answer:
q, P, E, O, A, z, t, L, v, n, u, K, 7065, 8863, 2159, 7027, 3179, 7143, 4687, 9581


question:
['W', '4229', '5133', 'r', 'J', '5109', '9189', 'A', '3497', '6797', '3559']
answer:

W, r, J, A, 4229, 5133, 5109, 9189, 3497, 6797, 3559