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.

Input: Consider Input: ['S', 'a', '6301', '8377', 'H', '8191', '9593', 'b', 'k', '2015', 'J', 'r', 'L', '8157', '4029', '6339', '2587', '6137', 'p', 'y', 'U', '4239', 'C', '159', '5927', '9739', 'o', 'g', '783', 'p', '2029', '8631', '5943', 'J', 'J', 'y', 'E', 'q', 'G', 'I']

Output: S, a, H, b, k, J, r, L, p, y, U, C, o, g, p, J, J, y, E, q, G, I, 6301, 8377, 8191, 9593, 2015, 8157, 4029, 6339, 2587, 6137, 4239, 159, 5927, 9739, 783, 2029, 8631, 5943


Input: Consider Input: ['t', 't', '2017', '8431', 'T', '7271', '4561', '4679', 'n', '4909', '1059', '7397', '3957', '8825', '1553', 'I', '941', '6749', '9865', '5947', 'q']

Output: t, t, T, n, I, q, 2017, 8431, 7271, 4561, 4679, 4909, 1059, 7397, 3957, 8825, 1553, 941, 6749, 9865, 5947


Input: Consider Input: ['a', 'W', 'o', '7701', 'J', '4197', '7383', '9981', '8289', '8735', '5391', '2535', 'U', 'g', 'X', 'o', '391', '3253', 'z', '9159', '8687', 'Z', 't', '3353', 'f', 'J', '6569', 'H', 'I', '1955', '7211', 'C', 'h', 'f', 'W']


Output: a, W, o, J, U, g, X, o, z, Z, t, f, J, H, I, C, h, f, W, 7701, 4197, 7383, 9981, 8289, 8735, 5391, 2535, 391, 3253, 9159, 8687, 3353, 6569, 1955, 7211