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:
['P', '6987', '9279', 'c', 'A', '9533', 'X', '8511', 's', 'O', 'i', 'a', '4939']
answer:
P, c, A, X, s, O, i, a, 6987, 9279, 9533, 8511, 4939


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:
['6383', '2147', 'R', 's', '105', 'n', 'c', '3435', 'Y', '1949', 'M', 'Z', '1271', 't', 'V', '4913', '7737', '3909', 'v', '5049', 'H', '7865', '3449', 'Z', '5047']
answer:

R, s, n, c, Y, M, Z, t, V, v, H, Z, 6383, 2147, 105, 3435, 1949, 1271, 4913, 7737, 3909, 5049, 7865, 3449, 5047