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: ['r', '5483', 'w', '1445', '4725', 'u', '8063', '5863', '8783', '4399', '5149', 'J', 'I', 'n', 'w', 'n', 'k', 'i', 'S', '3827', '267', 'h', 'I', '4449', 'a', '7731', 'y', 'T', '9733', '9475', 'H', 'w', 'X', '587', 'O', '3631', '7795', '1903', '9433']

A: r, w, u, J, I, n, w, n, k, i, S, h, I, a, y, T, H, w, X, O, 5483, 1445, 4725, 8063, 5863, 8783, 4399, 5149, 3827, 267, 4449, 7731, 9733, 9475, 587, 3631, 7795, 1903, 9433
****
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: ['8023', 'p', '2237', 'R']

A:
p, R, 8023, 2237
****