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:
['L', 'r', '2509', 'P', '1789', 'Z', '3021', '8203', 'V', 'K', '4709', 'd', 'u', '17', 'B', '6569', 'P', '4831']
answer:
L, r, P, Z, V, K, d, u, B, P, 2509, 1789, 3021, 8203, 4709, 17, 6569, 4831


question:
['9853', '119', '7371', 'W', 'H', '4307', '7507', '755', 'Q', 'y', 'y']
answer:
W, H, Q, y, y, 9853, 119, 7371, 4307, 7507, 755


question:
['8291', '3213', 'P', 'K', 'w', '5395', 'S', 'c', '5333', 'c', 'g', 'p', '3791', '7095', '7', '7387', 'N', 'E', '6873']
answer:

P, K, w, S, c, c, g, p, N, E, 8291, 3213, 5395, 5333, 3791, 7095, 7, 7387, 6873