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', '3865', 'E', '3945', '6479', 'X', '565', 'C', '9113', 'i', '8355', '7467', 'X', '6577', 'P', 'Q', '4039', 'N', '7993', 'x', 'u', '7455', 'w', 'P', 'q', 'h', 'p', 's', '2323', 'N', '1171', 'h', '2049', 'n', 't', 'A', '7143']

Answer: e, E, X, C, i, X, P, Q, N, x, u, w, P, q, h, p, s, N, h, n, t, A, 3865, 3945, 6479, 565, 9113, 8355, 7467, 6577, 4039, 7993, 7455, 2323, 1171, 2049, 7143


Question: ['v', 'p', 'd', 'D', 'u', '8905', '4031', 'x', 'i', '2727', 'F', 'i', '4877', '6781', '433', 'c', 'q', 'X', 'G', 'u', '6155', '4239', '9599', 'c', '165', '39', '9491', 'y', 'x', '8959', 'S', '3145']

Answer: v, p, d, D, u, x, i, F, i, c, q, X, G, u, c, y, x, S, 8905, 4031, 2727, 4877, 6781, 433, 6155, 4239, 9599, 165, 39, 9491, 8959, 3145


Question: ['g', '4949', 'X', '201', 'b', '3493', 'O', 'B', 'o', '531', '8857', '5757', 'i', 'f', 'M', 'S', '6687', 'T', '5441', '4729', 'S', '7705', '5507']

Answer:
g, X, b, O, B, o, i, f, M, S, T, S, 4949, 201, 3493, 531, 8857, 5757, 6687, 5441, 4729, 7705, 5507