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: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']

Output: Z, a, x, m, f, p, 3217, 5145


Input: Consider Input: ['5059', 'C', '7271', '1145', 'G', 'k', 'H', '1531', '6343', 'u', '2799', 'E', 'o', '253', '223', '8043', '2257', '1065', '5991', 'W']

Output: C, G, k, H, u, E, o, W, 5059, 7271, 1145, 1531, 6343, 2799, 253, 223, 8043, 2257, 1065, 5991


Input: Consider Input: ['c', 'R', '8239', '7155', 'M', '3585', '5393', 'M', '3273', '5199', 'm', 'a', '2187', 'v', '633', 'N', '4077', 'C', '3671', '4945', '5349', 'p', 'K', '3399', '8035', '1319', '303', 'q', 'i', 'f', 'O', '9311']


Output: c, R, M, M, m, a, v, N, C, p, K, q, i, f, O, 8239, 7155, 3585, 5393, 3273, 5199, 2187, 633, 4077, 3671, 4945, 5349, 3399, 8035, 1319, 303, 9311