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:
['6339', 's', 'y', '8869', '1179', 'L', 'M', 'H', 'G', '1989', 'm', 'x', '8581', '1917', 'Q', '5041', '6379', '4323', '417', '1251', '5483', '1927', '2315', '9079', '2089', 'N', '2731', '4553', 'I', '1791', '9797', 'k', 'r', 'D', 'x']
answer:
s, y, L, M, H, G, m, x, Q, N, I, k, r, D, x, 6339, 8869, 1179, 1989, 8581, 1917, 5041, 6379, 4323, 417, 1251, 5483, 1927, 2315, 9079, 2089, 2731, 4553, 1791, 9797


question:
['4861', 'f', 'G', 'J', '3741', '8033', 'h', '6061', '4901', '3603', '4971']
answer:
f, G, J, h, 4861, 3741, 8033, 6061, 4901, 3603, 4971


question:
['7365', 'O', 't', '8095', 'S', 'i', '6437', 'N', '1071', 'j', 'y', 'a', '2875', '3323', 'C', '7063', 'I', '371', 'u', 'Q', 'u', 'Y', 'H', '451', 'V', '3327', '9159', '2125', 'j', 'y', '5247', '8581', 'z', '8405']
answer:

O, t, S, i, N, j, y, a, C, I, u, Q, u, Y, H, V, j, y, z, 7365, 8095, 6437, 1071, 2875, 3323, 7063, 371, 451, 3327, 9159, 2125, 5247, 8581, 8405