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: ['3547', '9563', '85', '1897', 'g', '2449', '7801', '8531', '4719', 'N', '63', '4227', '7751', 'R', '127', '3839', 'P', '9783', '8499', '9205', 'X', 'e', '5773', 'v', '3279', '9471', 'j', 'W', '4587', '3001', 'd', '6931', 'S', '1503', '1077']

A: g, N, R, P, X, e, v, j, W, d, S, 3547, 9563, 85, 1897, 2449, 7801, 8531, 4719, 63, 4227, 7751, 127, 3839, 9783, 8499, 9205, 5773, 3279, 9471, 4587, 3001, 6931, 1503, 1077
****
Q: ['O', '8353', 'G', 'M', 'O', '1283', 'W', 'K', 'o', '6405', 'I', 'X', '3623', 'Z', 'F', 'p', 'p', '6551', '8341', '9223', 'j', 't', 'V', 'u', 'V', '8101', '9933', '2323']

A: O, G, M, O, W, K, o, I, X, Z, F, p, p, j, t, V, u, V, 8353, 1283, 6405, 3623, 6551, 8341, 9223, 8101, 9933, 2323
****
Q: ['M', 'g', 'E', 'M', 'G', '4397']

A:
M, g, E, M, G, 4397
****