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: ['Q', '8275', 'r', '4235', 'F', 'p']

Output: Q, r, F, p, 8275, 4235


Input: Consider Input: ['F', 'E', 'p', 'd', '8159', 'a', '6625', '8905', '5515', 'P', 'W', '6557', '9587', '5477', 'S', 'z', '9427']

Output: F, E, p, d, a, P, W, S, z, 8159, 6625, 8905, 5515, 6557, 9587, 5477, 9427


Input: Consider Input: ['7617', 'm', '1713', '6339', 'Y', '2831', 'Z', '4787', '5505', 'W', '6565', 'V', 'k', '2935', 'l', 'D', 'B', '5953', 'm', 'k', '2951']


Output: m, Y, Z, W, V, k, l, D, B, m, k, 7617, 1713, 6339, 2831, 4787, 5505, 6565, 2935, 5953, 2951