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.

Q: ['C', 'x', '4187', 'L', 'N', 'h', 'n', '5057', 'J', 'U', 'f', 'C', 'V', '8055', '5863', '759', '5985', 'C', 'A', '6269', 'N', '5869', '8183', '1361', '3095', '865', 'r', '5061', 'C', 'y', 'n', '5695', 'X', 'L', '5001', '1787', '2173', 'U', '2953', 'i']

A: C, x, L, N, h, n, J, U, f, C, V, C, A, N, r, C, y, n, X, L, U, i, 4187, 5057, 8055, 5863, 759, 5985, 6269, 5869, 8183, 1361, 3095, 865, 5061, 5695, 5001, 1787, 2173, 2953
****
Q: ['8003', '8073', 'B', '7411', '343', 'D', '1267', 'Z', '5607', '9855', '7531', 'r', '1823', '4457', 'l', '779', '7941', '8299', '1977', '4861', 'v', 'Y', 'l', 'p', '9579', '8353', 'E', '5859', '5731', '3899', 'q', 'e', '1609']

A: B, D, Z, r, l, v, Y, l, p, E, q, e, 8003, 8073, 7411, 343, 1267, 5607, 9855, 7531, 1823, 4457, 779, 7941, 8299, 1977, 4861, 9579, 8353, 5859, 5731, 3899, 1609
****
Q: ['173', '3553', 'Q', '2607', 'D', 'y', '8033', '5929', 'S', 'W', '4081', 'C', '5563', '5579', 'm', 'B', 'K', 'I', '713', 'P', 'F', 'J', 'v', 'D', '9511', '381', 'P', '1465', 'M', '7017', '5213', '3111', 'Y', '985', '4131', '4145']

A:
Q, D, y, S, W, C, m, B, K, I, P, F, J, v, D, P, M, Y, 173, 3553, 2607, 8033, 5929, 4081, 5563, 5579, 713, 9511, 381, 1465, 7017, 5213, 3111, 985, 4131, 4145
****