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: ['j', '8187', '6645', 'r', 'N', '7521', 'z', 'E', 'd', '8885', '9273', 'Y', '8655', 'M', '1809', 'U', '2487', '5875', 'c', '3993', '9019', 'K']

Output: j, r, N, z, E, d, Y, M, U, c, K, 8187, 6645, 7521, 8885, 9273, 8655, 1809, 2487, 5875, 3993, 9019


Input: Consider Input: ['N', 'M', '3951', '6031', '2277', 'M', 'Z', '1755', 'g', '255', 'G', '3423', 'W', 'Q', '393', 'M', '5045', 'c', 'J', '9001', '8103']

Output: N, M, M, Z, g, G, W, Q, M, c, J, 3951, 6031, 2277, 1755, 255, 3423, 393, 5045, 9001, 8103


Input: Consider Input: ['d', '9159', 'F', 'g', 'n', '7617', 'h', '9573', '5431', '9149', 'Y', '5881', 'y', '1575', 'h', 'W', 'F', '7907']


Output: d, F, g, n, h, Y, y, h, W, F, 9159, 7617, 9573, 5431, 9149, 5881, 1575, 7907