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:
['6777', '9975', 'j', 'Y']
answer:
j, Y, 6777, 9975


question:
['R', '4459', '7283', 'u', 'Q', 'r', 'n', 'P', 'T', 'u', '3673', 'Y', 'l', 'x', 'n', '4779', 'Y', 'm', 'B', 'p', '8399', '2977', 'h', '7849', '3879', 'B', 'N', '125', '3091', '2647', 'Q']
answer:
R, u, Q, r, n, P, T, u, Y, l, x, n, Y, m, B, p, h, B, N, Q, 4459, 7283, 3673, 4779, 8399, 2977, 7849, 3879, 125, 3091, 2647


question:
['p', '5161', '9259', '5387', '1313', 'l', 'D', 'y', '4095', 'd', 'w', '4087', '9615', '4431']
answer:

p, l, D, y, d, w, 5161, 9259, 5387, 1313, 4095, 4087, 9615, 4431