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: ['t', '861', 'u', 'm', '805', '8481', '4481', '3417', 'i', 'J', '4793', '6811', '4997', '907', 'K', '7877', 'j', 'C', '551', 'C', 'R', '6081', 'X']

A: t, u, m, i, J, K, j, C, C, R, X, 861, 805, 8481, 4481, 3417, 4793, 6811, 4997, 907, 7877, 551, 6081
****
Q: ['R', '7155', '8737', 'X', 'A', 'R', 'O', '1997', '7903', '7175', '901', 'B', 'd', 'C', 'h', 'R', 'q', '7523', 't', 'C', '1043', 'k', '9395', 'F', 'M', 'a']

A: R, X, A, R, O, B, d, C, h, R, q, t, C, k, F, M, a, 7155, 8737, 1997, 7903, 7175, 901, 7523, 1043, 9395
****
Q: ['f', 'j', 'm', 'I', '1739', '6207', '7595', '7317', 'O', 'w', '4599', 'E', 's', 's', '9007', '8405', '9131', '3037', '1237', '409', 'T', '4725', '1057', 'g', 'E', '505', 'j', '7113', 'P', '2423', 'I', 'b', 'g', '541', '2893', '4559', 'f', '2273', 'O']

A:
f, j, m, I, O, w, E, s, s, T, g, E, j, P, I, b, g, f, O, 1739, 6207, 7595, 7317, 4599, 9007, 8405, 9131, 3037, 1237, 409, 4725, 1057, 505, 7113, 2423, 541, 2893, 4559, 2273
****