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: ['3061', 'M', '3839', 'q', '8167', 't', '7843', 'X', 'H', '5455', '5453', 'n', 'Q', 'G', 'c', 'J', '6119', 'i', '1957', '2635', 'n', '3189', '9591', '9559', '6021', 'Z', 'W', '7733', '4401', '7353', '6995', '771', 'G', 'v', 'z', 'v']

A: M, q, t, X, H, n, Q, G, c, J, i, n, Z, W, G, v, z, v, 3061, 3839, 8167, 7843, 5455, 5453, 6119, 1957, 2635, 3189, 9591, 9559, 6021, 7733, 4401, 7353, 6995, 771
****
Q: ['4779', '4483', 'z', '8063', '3057', 'i', '4317', '2349', 's', '7385', '6717', 'S', 'y', 'p', 'O', 'T', 'x', '9253', 'Q', 'I', 'w']

A: z, i, s, S, y, p, O, T, x, Q, I, w, 4779, 4483, 8063, 3057, 4317, 2349, 7385, 6717, 9253
****
Q: ['F', '1811', 'G', '6693', '8943', '6753', '1145', 'z', '9307', '5897', '5733', 'k', 't', '3367', 'K', '1687', '5295', 'R', '3701', '6073', 'h', '4485', '7459', '5813', 'y', '3007', 'R', '3653', '7657', '5705', '7313', '8323', 'n', 'A', 'Z', '1721', 'D', 'l', '3943']

A:
F, G, z, k, t, K, R, h, y, R, n, A, Z, D, l, 1811, 6693, 8943, 6753, 1145, 9307, 5897, 5733, 3367, 1687, 5295, 3701, 6073, 4485, 7459, 5813, 3007, 3653, 7657, 5705, 7313, 8323, 1721, 3943
****