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: ['R', '7155', '8737', 'X', 'A', 'R', 'O', '1997', '7903', '7175', '901', 'B', 'd', 'C', 'h', 'R', 'q', '7523', 't', 'C', '1043', 'k', '9395', 'F', 'M', 'a']

Answer: R, X, A, R, O, B, d, C, h, R, q, t, C, k, F, M, a, 7155, 8737, 1997, 7903, 7175, 901, 7523, 1043, 9395


Question: ['P', 'D', '199', '8721', '9133', 'b', 'i', '4041', 'l', '2799', '5949', '2191', '7095', '4573', 'h', '1561', 'k', 'J', 'a', 'O', '5877', '5109', 'X', '2253', '4381', 'S', '3609', '4219', 'Y', 'L', '9165', '1911', '861', '8627']

Answer: P, D, b, i, l, h, k, J, a, O, X, S, Y, L, 199, 8721, 9133, 4041, 2799, 5949, 2191, 7095, 4573, 1561, 5877, 5109, 2253, 4381, 3609, 4219, 9165, 1911, 861, 8627


Question: ['8371', '6915', '6581', 'I', 'n', 'F', '3655', 'J', 'g', 'Y', 'T', 'E', '743', 'O', 's', 'u', 'u', '759', '8675', '1087', '1107', 'u', '7961', 'C', 'b', 'Y', 'L', '1315', 'W', '1247', 'r', '65', 'n', 'a', 'K', 'l', 'i', '1533', '1903', '1901']

Answer:
I, n, F, J, g, Y, T, E, O, s, u, u, u, C, b, Y, L, W, r, n, a, K, l, i, 8371, 6915, 6581, 3655, 743, 759, 8675, 1087, 1107, 7961, 1315, 1247, 65, 1533, 1903, 1901