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]: ['H', '8371', 'D', 'p', '7145', 'f', '1423', 'L', '9495', '5085', 'B', '973', 'z', '4571', '1541', '9771', '7531', 'E', 'n', '1583', 'S', '8133', '307', 'Q', 'q', 'h', '4615', 'N', 'h', '6415', '9517', 'R']
[A]: H, D, p, f, L, B, z, E, n, S, Q, q, h, N, h, R, 8371, 7145, 1423, 9495, 5085, 973, 4571, 1541, 9771, 7531, 1583, 8133, 307, 4615, 6415, 9517


[Q]: ['m', 'e', 'M', '7929', 't', 't', 'D', '8157', '679', 'k', 'M', 'F', '4777', '1711', 'Q', 'X', 'j', '9805', '5633', 'O', 'F', '4791', '855', 'V', '8851', 'E', '957', 'e', 'z', '2105']
[A]: m, e, M, t, t, D, k, M, F, Q, X, j, O, F, V, E, e, z, 7929, 8157, 679, 4777, 1711, 9805, 5633, 4791, 855, 8851, 957, 2105


[Q]: ['3241', '495', 'K', 'B', '8489', 'b', 'e', 'S', 'R', 'R', '5971', 'b', 'U', '2815', 'a', '6113', 'g', 'A', '8511', '8319', '4163', '3023', 'H', '7487', 'k', '1985', '7159', 'q']
[A]:
K, B, b, e, S, R, R, b, U, a, g, A, H, k, q, 3241, 495, 8489, 5971, 2815, 6113, 8511, 8319, 4163, 3023, 7487, 1985, 7159