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: ['E', 'm', 'o', '3729', 'd', 'r', 'V', 'X', 'J', '2701', '1567', '8189', 'Y', 'x', 'X', '7643', '8261', 'y', '7373', '9971', '3321', 'N', '5309', 'W', 'h']

A: E, m, o, d, r, V, X, J, Y, x, X, y, N, W, h, 3729, 2701, 1567, 8189, 7643, 8261, 7373, 9971, 3321, 5309
****
Q: ['t', 't', '2017', '8431', 'T', '7271', '4561', '4679', 'n', '4909', '1059', '7397', '3957', '8825', '1553', 'I', '941', '6749', '9865', '5947', 'q']

A: t, t, T, n, I, q, 2017, 8431, 7271, 4561, 4679, 4909, 1059, 7397, 3957, 8825, 1553, 941, 6749, 9865, 5947
****
Q: ['3055', 'M', '2821', 'h', '6089', '3207', '4253', 'H', 'z', 'Y', 'R', 'a', 'r', '1087', '4331', 'E', 'M', 'S', 'H', '3569', 'M', 'U', '7583', 'c', '4165', '2859', '5983', '4445', 'N', '7415', '4629', 'J', 'z', '889', '151', '1263', 'i', '9019', 'M']

A:
M, h, H, z, Y, R, a, r, E, M, S, H, M, U, c, N, J, z, i, M, 3055, 2821, 6089, 3207, 4253, 1087, 4331, 3569, 7583, 4165, 2859, 5983, 4445, 7415, 4629, 889, 151, 1263, 9019
****