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: ['4259', '4973', '181', '5487', '825', 'E', '1663', '9783', 'U', 'a', 'W', '3997', 'M', 'x', 'M', 'h', '4489', '9773', 'f', '3967', '8857', 'Z', 'O', 'O', 'Q', 'K', '8201', 'U']

A: E, U, a, W, M, x, M, h, f, Z, O, O, Q, K, U, 4259, 4973, 181, 5487, 825, 1663, 9783, 3997, 4489, 9773, 3967, 8857, 8201
****
Q: ['3935', '5465']

A: 3935, 5465
****
Q: ['M', 'b', '2279', '787', 'F', '3575', '5717', '3691', 'H', 'o', '8669', 'L', 'E', '7807', 't', '2873', '3591', 's', '6331', '7783', 'r', 's', '7843', 'x', 'o', '153', 'v', '6545', '1089', 'c', 'd', 'a']

A:
M, b, F, H, o, L, E, t, s, r, s, x, o, v, c, d, a, 2279, 787, 3575, 5717, 3691, 8669, 7807, 2873, 3591, 6331, 7783, 7843, 153, 6545, 1089
****