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: ['Y', '1979', 'c', 'A', 'Y', 'i', 'B']

Output: Y, c, A, Y, i, B, 1979


Input: Consider Input: ['8879', '5293', 'x', 'Y', 'I', '7817', 'Y', 'C', 'f', 'd']

Output: x, Y, I, Y, C, f, d, 8879, 5293, 7817


Input: Consider Input: ['8937', 'J', '987', 'R', '1593', 'D', 'n', 'D', '7057', '9257', '1715', '8163', 'M', 'V', '9085', 'F', '7071', 'O', 'x', 'X', 'Q', 'z', '1081', '105', '6921', 'E']


Output: J, R, D, n, D, M, V, F, O, x, X, Q, z, E, 8937, 987, 1593, 7057, 9257, 1715, 8163, 9085, 7071, 1081, 105, 6921