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: ['2277', '9811', '6401', 'V', 'J', 'D', 'z', '3051', '9331', 'u', '5825', 'p', 'P', '4645', 'n', 'T', 'q', 'P', 's', 'V', 'Q', 'H', '3901', 'Y', '271', 'W', '3279', '6065', '1511', '1261', 'E', '5765', '6423', 'l', 'e']

A: V, J, D, z, u, p, P, n, T, q, P, s, V, Q, H, Y, W, E, l, e, 2277, 9811, 6401, 3051, 9331, 5825, 4645, 3901, 271, 3279, 6065, 1511, 1261, 5765, 6423
****
Q: ['L', 'r', '2509', 'P', '1789', 'Z', '3021', '8203', 'V', 'K', '4709', 'd', 'u', '17', 'B', '6569', 'P', '4831']

A: L, r, P, Z, V, K, d, u, B, P, 2509, 1789, 3021, 8203, 4709, 17, 6569, 4831
****
Q: ['w', '5455', 'R', '3679', 'M', '1621', 'Z', '9157', 'I', 'c', 'Q', '6521', '4735', '43', 'f', 'z', 'Z', '2171', '6819']

A:
w, R, M, Z, I, c, Q, f, z, Z, 5455, 3679, 1621, 9157, 6521, 4735, 43, 2171, 6819
****