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: ['9175', 'k', '2827', 'z', '9377', 'g', 'z', 'I', 'U', 'D', '8353', 'p', 'b', 'C', '9151', '4657', 'p', 'z', '7771', 'D', 'U', 'q', 'f', 'R', 'M', '5491', '5043', '4249', 'l', '3871']

A: k, z, g, z, I, U, D, p, b, C, p, z, D, U, q, f, R, M, l, 9175, 2827, 9377, 8353, 9151, 4657, 7771, 5491, 5043, 4249, 3871
****
Q: ['W', '7631', 'q', '9985', 'c', 'J', '3255', '1731', '9057', 'E', '2613', 'w', '9817', 'F', '5961', 'E', 'a', '5483']

A: W, q, c, J, E, w, F, E, a, 7631, 9985, 3255, 1731, 9057, 2613, 9817, 5961, 5483
****
Q: ['j', 'p', 'E', '2991', '4575', 'd', '145', 'a', 'y']

A:
j, p, E, d, a, y, 2991, 4575, 145
****