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: ['2181', 'C', '9407', '6495', '9609', '4449', '8191', 'a', 'F', 'L', '3271', '6647', '9459', '4837', 'N', 'I', 'O', '7461', '5259', 's', 'h', 's', 'Y', 'r', 'O', 'R']

A: C, a, F, L, N, I, O, s, h, s, Y, r, O, R, 2181, 9407, 6495, 9609, 4449, 8191, 3271, 6647, 9459, 4837, 7461, 5259
****
Q: ['n', '4645', 't', 'A', '5319', 'e', '9771', '9493', '3891', '3385', 'Y', '523', 'L', 'k', '4211', 'b', '2273', 'A', 'v', 'D', '6079', '823', 'c', '989', '3477', 'c', '8799', '7277', 'y', 'p', '2709']

A: n, t, A, e, Y, L, k, b, A, v, D, c, c, y, p, 4645, 5319, 9771, 9493, 3891, 3385, 523, 4211, 2273, 6079, 823, 989, 3477, 8799, 7277, 2709
****
Q: ['277', '7637', '4943', '8829', '4581', '599', 'R', '5887', '6749', '229', 'f', 'P', '6637', '5735', 'i', 'A', '5353', '8975', 'H', '9905', '6723', 'H', 'I', '8839', 'n', 'r', '6131', '1539']

A:
R, f, P, i, A, H, H, I, n, r, 277, 7637, 4943, 8829, 4581, 599, 5887, 6749, 229, 6637, 5735, 5353, 8975, 9905, 6723, 8839, 6131, 1539
****