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: ['g', 'g', '9271', 'D', '9667', 'x', '117', 'E', '4013', 'D', 'M', 'Y', '3887', '5931', '273', '5333', 'Q', '1303', '4517']

Output: g, g, D, x, E, D, M, Y, Q, 9271, 9667, 117, 4013, 3887, 5931, 273, 5333, 1303, 4517


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', '9107', 'i', 'G', 'Z', '9373', 'T', '5939', 'Q', '7039', 'z']


Output: n, i, G, Z, T, Q, z, 9107, 9373, 5939, 7039