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:
['1243', '6133', '7145', '4061', '4919', 'y', '2955', '2707', 'y', 'w', 'P', 'c', '6387', '5119', 'c', 'B', 'N', '4849', '7999', '4571', 'U', 'M', 'S', '5981', 'n']
answer:
y, y, w, P, c, c, B, N, U, M, S, n, 1243, 6133, 7145, 4061, 4919, 2955, 2707, 6387, 5119, 4849, 7999, 4571, 5981


question:
['v', 'n', '5785', 'k', '5277', 'k', '783', '8175', '3971']
answer:
v, n, k, k, 5785, 5277, 783, 8175, 3971


question:
['p', 'k', '7281', '6639', 't', '373', '5773', '8185', 'Z', 'Y', '8289', 'a', 'M', 'N', '7173']
answer:

p, k, t, Z, Y, a, M, N, 7281, 6639, 373, 5773, 8185, 8289, 7173