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.

[EX Q]: ['s', 'R', '5665', 'm', '2001', 'h', '2117', 'X', '453', 'S', '5799', '911', '7823', 'v', 'Z', '7171', 'l', 'p', '6701', 't', 'a', 'Y', '873', '2811', 'Y', '9533', '4317', 'Q', 'N', '2099', 'R', 'U', 'e', 'L', '9503', 'n', 'w', '7289', '1289']
[EX A]: s, R, m, h, X, S, v, Z, l, p, t, a, Y, Y, Q, N, R, U, e, L, n, w, 5665, 2001, 2117, 453, 5799, 911, 7823, 7171, 6701, 873, 2811, 9533, 4317, 2099, 9503, 7289, 1289

[EX Q]: ['g', '9423', '4427', 'e', 'F', '4515', 'h', '7379', '543', '5923', '347', '1559', '7095', 'G', '8737', '1119', '8573', '6291', '1261', 'z', '7253', 'N', '5341']
[EX A]: g, e, F, h, G, z, N, 9423, 4427, 4515, 7379, 543, 5923, 347, 1559, 7095, 8737, 1119, 8573, 6291, 1261, 7253, 5341

[EX Q]: ['4953', 'G', 'O', 'Z', 'm', 'a', 'A', '9365', 'F', '5843', '5859', '495', '6779', '5403', '2781', 'k', 'g', 'i', '8485', '4349', '1505']
[EX A]:
G, O, Z, m, a, A, F, k, g, i, 4953, 9365, 5843, 5859, 495, 6779, 5403, 2781, 8485, 4349, 1505