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: ['169', '2703', 'M', 'g', 'M', 'l', '5883', 'v', 'T', 'n', '7003', 'n', '3073', 'B', 'S', 'P', 'G', 'K', 'l', '4799', 'm']

Output: M, g, M, l, v, T, n, n, B, S, P, G, K, l, m, 169, 2703, 5883, 7003, 3073, 4799


Input: Consider Input: ['M', 'G']

Output: M, G


Input: Consider Input: ['r', 'g', '5847', '329', '6267']


Output: r, g, 5847, 329, 6267