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: ['e', 'd', 'u', '2981', '3657', '2979', '6829', 'C', 'P', 'n', '359', '4099', 'N', 'I', 'q', '8285', 'o', 'S', 'I', '6003', '7547', 'u', 'u', '341']

Answer: e, d, u, C, P, n, N, I, q, o, S, I, u, u, 2981, 3657, 2979, 6829, 359, 4099, 8285, 6003, 7547, 341


Question: ['g', 'g', '9271', 'D', '9667', 'x', '117', 'E', '4013', 'D', 'M', 'Y', '3887', '5931', '273', '5333', 'Q', '1303', '4517']

Answer: g, g, D, x, E, D, M, Y, Q, 9271, 9667, 117, 4013, 3887, 5931, 273, 5333, 1303, 4517


Question: ['n', '9709', 'Q', '6953', 'e', 't', '5993', 'h', 'r', '1017', '2583', '7045', '5731', '8991', 'o', 'E', 'Q', 'N', 'I', '7807', 'O', 'i', 'R', '5837', 'E', '6435', '8047']

Answer:
n, Q, e, t, h, r, o, E, Q, N, I, O, i, R, E, 9709, 6953, 5993, 1017, 2583, 7045, 5731, 8991, 7807, 5837, 6435, 8047