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: ['9265', 'L', 'j', 'l', 'g', '4067', 'f', 'R', '5407', 'I', 'z', '1389', 'i', 'g', 'u', '6807', 'k', '9701', 'e', '2513', '627', '6263', 'h', 'm', 'J', 'M']

A: L, j, l, g, f, R, I, z, i, g, u, k, e, h, m, J, M, 9265, 4067, 5407, 1389, 6807, 9701, 2513, 627, 6263
****
Q: ['7361', 'H', 'd', '1811', '8801', 'D', '245', 'i', 'q', '4507', '3811', '4643', '5653', '5799', 'A', 'Q', 'X', 'i', '1595', 'U', 'X', 'z', 'X', '3265', 'O', 'j', 'n', '573', 'A', 'J', '769', '5933', 's', 'I', '9749']

A: H, d, D, i, q, A, Q, X, i, U, X, z, X, O, j, n, A, J, s, I, 7361, 1811, 8801, 245, 4507, 3811, 4643, 5653, 5799, 1595, 3265, 573, 769, 5933, 9749
****
Q: ['8999', '5909', 'd', '7107', '8447', '4373', '5471', '1309', '1375', '9507', 'B', '5195', '1539', 'B', 'u', '29', 'O', 'Y', '499', 'A', '9137', 'X', '9547', 'J', 'G', 'Q', 'K', '9865', '6335', '3805', '2567', 'F', '7875', '2717', '8861', '8975', 'N', '7087', '2765']

A:
d, B, B, u, O, Y, A, X, J, G, Q, K, F, N, 8999, 5909, 7107, 8447, 4373, 5471, 1309, 1375, 9507, 5195, 1539, 29, 499, 9137, 9547, 9865, 6335, 3805, 2567, 7875, 2717, 8861, 8975, 7087, 2765
****