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:
['K', '4733', '749', '693', 'e', 'V', '4975', 'q', 'M', 'U', 'C', '4929', '5541', '9899', 'g', 'p', 'q', 'h', 'A', 'a', 'J', '897', 'N', 'z', '8939', '6949', 'n', 'i', '7161', 'L', 'C', 'c', 'S', 'y', 'n', '543', 'd']
answer:
K, e, V, q, M, U, C, g, p, q, h, A, a, J, N, z, n, i, L, C, c, S, y, n, d, 4733, 749, 693, 4975, 4929, 5541, 9899, 897, 8939, 6949, 7161, 543


question:
['7879', 'h', '5401', 'e', 'B', '9419', 'f', '7509', '2617', 'r', 'q', 'L', '2453']
answer:
h, e, B, f, r, q, L, 7879, 5401, 9419, 7509, 2617, 2453


question:
['311', 'n', '7469', 'K', 'G', 'X', 'e', '4349', 't', '279', '789', '3841', '317', 't', '3101', '3837', 'a', 'b', 'h', 'j', 'Z', 'R', 'X', '5993', '5617', 'u', '4887', 'c', 'r', 'Z', '8539', 'B']
answer:

n, K, G, X, e, t, t, a, b, h, j, Z, R, X, u, c, r, Z, B, 311, 7469, 4349, 279, 789, 3841, 317, 3101, 3837, 5993, 5617, 4887, 8539