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: ['q', 'y', 'h', '6797', 'm', 'p', '3303', '4349', '9779', '6367', '3107', 'R', 'C', '6105', '6165', '6611', 'O', '6697', 'l', 'L', 'Q', '8817', 'x']

Answer: q, y, h, m, p, R, C, O, l, L, Q, x, 6797, 3303, 4349, 9779, 6367, 3107, 6105, 6165, 6611, 6697, 8817


Question: ['291', 't', '3207', 's', '289', 'X', 'U', 'M', '2689', '3303', '9679', 's', 'Z', 'M', '3693', 'x', '7903', 'w', 'T', 'v', '3475', '2133', 'S', '8041', '7323', '8199', 'C', '1785', '9757', 'y', 'P', '6823', '1427']

Answer: t, s, X, U, M, s, Z, M, x, w, T, v, S, C, y, P, 291, 3207, 289, 2689, 3303, 9679, 3693, 7903, 3475, 2133, 8041, 7323, 8199, 1785, 9757, 6823, 1427


Question: ['2511', '7195', '779', '9271', '5165', '9183', 'E', 'Z', 'S', '1365', '1089', 'k', 'M', 'u', 'K']

Answer:
E, Z, S, k, M, u, K, 2511, 7195, 779, 9271, 5165, 9183, 1365, 1089