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: ['5215', 't', '5517', 'K', 'y', 'v']

A: t, K, y, v, 5215, 5517
****
Q: ['9411', '803', 'G', 'z', 'j', '1877', '8253', '1589', '5159', '9103', '3569', '7447', '5177', '3991', 'X', '9597', 's', 'r', 'f', '2545', '9655', '2103', '895', 'A', '5087', '6709', '8013', 'K', '99', 'p', '1327', '595', 'H', 'J', 'F', 'J']

A: G, z, j, X, s, r, f, A, K, p, H, J, F, J, 9411, 803, 1877, 8253, 1589, 5159, 9103, 3569, 7447, 5177, 3991, 9597, 2545, 9655, 2103, 895, 5087, 6709, 8013, 99, 1327, 595
****
Q: ['O', '4001', 'S', 'r', 'Y', '147', '9623', '9489', '5829', '5271', 'a', '2431', '5509', '1317', '8863', '5193', '1781', '7711', 'm']

A:
O, S, r, Y, a, m, 4001, 147, 9623, 9489, 5829, 5271, 2431, 5509, 1317, 8863, 5193, 1781, 7711
****