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: ['f', 'v', '6127', 'y', '4291', 'x', 'c', '6563', 'r', '9987', 's', 'R', '4089', '2947', 'V', '7649', 'z', 'R', 'W', '3229', 'w', 'y', 'E', 'b', 't', 'C', '277', '7709', '8355', 'E', '8063', '1581', '3425', 'p', '5683', 'K', '3513', 'n', 'L']

A: f, v, y, x, c, r, s, R, V, z, R, W, w, y, E, b, t, C, E, p, K, n, L, 6127, 4291, 6563, 9987, 4089, 2947, 7649, 3229, 277, 7709, 8355, 8063, 1581, 3425, 5683, 3513
****
Q: ['X', '4861', '4531']

A: X, 4861, 4531
****
Q: ['X', 'd', '361', '7467', '6409', '2151', 'w', 'x', '9469', 'D', 'd', 'V', '7865', '8945', 'v', '6509', 'x', '9813', '8151', 'v', '6045']

A:
X, d, w, x, D, d, V, v, x, v, 361, 7467, 6409, 2151, 9469, 7865, 8945, 6509, 9813, 8151, 6045
****