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: ['8827', '2225', 'Z', 'N', '3355', 'b', 'n', '4339', '2151', 'M', 'j', 'T', '3925', '8891', '8417', '6521', '1087', 'i', 'A']

Output: Z, N, b, n, M, j, T, i, A, 8827, 2225, 3355, 4339, 2151, 3925, 8891, 8417, 6521, 1087


Input: Consider Input: ['y', '9479', '6903', 'P', '9005', 'o', '6645', 'L', '2215', 'G', 'T', 'O', 'e', 'h', '4251', '9841', '1179', '7095', '9727', '9815', 'R', '8771', 'e']

Output: y, P, o, L, G, T, O, e, h, R, e, 9479, 6903, 9005, 6645, 2215, 4251, 9841, 1179, 7095, 9727, 9815, 8771


Input: Consider Input: ['O', 't', 'T', 'n', 'g', 'M', 'P', '5471', 'v', 'R', 'A', 'c', 'f', 'Y', '3627', 'Y', '3607', 'z', '4061', 'S', '8317']


Output: O, t, T, n, g, M, P, v, R, A, c, f, Y, Y, z, S, 5471, 3627, 3607, 4061, 8317