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]: ['7643', '1863', 'D', '2397', 'Y', 'A', 'd', '8747', 'D', 'O', '7995', '8713', '2757', '3379', '5481', '3891', '6383', '8981', 'N', '2679', 'O', '5435', '5619', 'g', '4561', 'm', 'T', '2791', 'Q', '2441', '1601', 'K', '5897', '7117', '4835']
[A]: D, Y, A, d, D, O, N, O, g, m, T, Q, K, 7643, 1863, 2397, 8747, 7995, 8713, 2757, 3379, 5481, 3891, 6383, 8981, 2679, 5435, 5619, 4561, 2791, 2441, 1601, 5897, 7117, 4835


[Q]: ['s', 'a', '9473', 'N', '3743', 'l', '7653', '389', 'f', 'O', '8261', 'j', '2695', 'x', '4225', '7583', 'U', 'S']
[A]: s, a, N, l, f, O, j, x, U, S, 9473, 3743, 7653, 389, 8261, 2695, 4225, 7583


[Q]: ['X', '6237', 'j', '1787', '17', '5007', 'I', 'e', 'Y', '8489', 'c', 'x', 'V', 'W', '4693', 'f', '8341', 'u', '8715', 'Y', 'w', 'e', '7007', 'Z', 'i', '3779', 'y', '353', 'W', 'A', 'B', '1887', '4913', '9765', 'm', '8947', '9291', '6071', 'I']
[A]:
X, j, I, e, Y, c, x, V, W, f, u, Y, w, e, Z, i, y, W, A, B, m, I, 6237, 1787, 17, 5007, 8489, 4693, 8341, 8715, 7007, 3779, 353, 1887, 4913, 9765, 8947, 9291, 6071