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]: ['8221', 'K', '1765', 'M', 'e', '6605', 'V', '1145', '2631', 'T', '3247', 'U', '7467', '4829', '7459', 'D', 'C', 'B', '6607', '533', 'p', '6123', '2115', '763', '3957', 'k', 'h', '4709', 'p', 'K', 'z', 'U', '8891', '8585', 'x', '4605', 'q']
[A]: K, M, e, V, T, U, D, C, B, p, k, h, p, K, z, U, x, q, 8221, 1765, 6605, 1145, 2631, 3247, 7467, 4829, 7459, 6607, 533, 6123, 2115, 763, 3957, 4709, 8891, 8585, 4605


[Q]: ['7427', '3515', '7523', '4159', '3001', '2821', 'h', 'D', 'p', 'R', '5721', 'O', 'M', '9639', 'i', 'y', 'O', '2093', 'K']
[A]: h, D, p, R, O, M, i, y, O, K, 7427, 3515, 7523, 4159, 3001, 2821, 5721, 9639, 2093


[Q]: ['8827', '9315', '4207']
[A]:
8827, 9315, 4207