Q: 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.
['165', '6519', '2993', 'P', '2921', '7295', 't', '4891', 'F', '8767', '7559', 'a', 'T', '1609', 'G', '8383', 'N', 'G', '4239', 'h', 'V', '1661', 'O', 'V', '5715', '631', 'B', 'K', '2577', 'Z', '9229', 'Q', '1861', 'V', 'u', 'A', 'Q', '2679', '8171', '1559']
A:
P, t, F, a, T, G, N, G, h, V, O, V, B, K, Z, Q, V, u, A, Q, 165, 6519, 2993, 2921, 7295, 4891, 8767, 7559, 1609, 8383, 4239, 1661, 5715, 631, 2577, 9229, 1861, 2679, 8171, 1559