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]: ['r', 'g', '5847', '329', '6267']
[A]: r, g, 5847, 329, 6267


[Q]: ['5717', 'y', '2681', 'l', 'm', '3623', 'o', 'P', 'y', 'h', '2751', 'e', 'i', 'Q', '8331', '3197', 'v', '9189', 'F']
[A]: y, l, m, o, P, y, h, e, i, Q, v, F, 5717, 2681, 3623, 2751, 8331, 3197, 9189


[Q]: ['3659', '9967', 'O', '5075', '411', 'w', 'S', '7843', '3031', '9057', 'P', 'k', 'C', 'j', 'w', 'H', 'S', '3321', 'j', '9369', '5325']
[A]:
O, w, S, P, k, C, j, w, H, S, j, 3659, 9967, 5075, 411, 7843, 3031, 9057, 3321, 9369, 5325