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: ['g', '5519', '3883', '8625', 'c', '9117', 'j', 'k', 'w', '6131', 'D', 'E', '1973', 'm', 'I', 'm', '1701']

A: g, c, j, k, w, D, E, m, I, m, 5519, 3883, 8625, 9117, 6131, 1973, 1701
****
Q: ['1461', '3871', '5867', '4781', '5999', 'r', '1671']

A: r, 1461, 3871, 5867, 4781, 5999, 1671
****
Q: ['6319', '7691', '5369', 'w', '2231', 'o', '9387', '389', 'X', 'O', 'r', 'R', '9113', '3201', 's', 'U', 'l', 'e', '8217', 'D', '807', 'a', 'B', '9015', '2319', '2963', '7047', '313', 'M', '7221', '819', '3363']

A:
w, o, X, O, r, R, s, U, l, e, D, a, B, M, 6319, 7691, 5369, 2231, 9387, 389, 9113, 3201, 8217, 807, 9015, 2319, 2963, 7047, 313, 7221, 819, 3363
****