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.
--------
Question: ['y', '9479', '6903', 'P', '9005', 'o', '6645', 'L', '2215', 'G', 'T', 'O', 'e', 'h', '4251', '9841', '1179', '7095', '9727', '9815', 'R', '8771', 'e']

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


Question: ['3935', '5465']

Answer: 3935, 5465


Question: ['r', '7745', '2427', '7789', 'j', 'H', '4211', 'm', 'c', 'O', '4411', '1981', 'n', 'u', 'V', '451', '9131', 'F', '589', '879', 'P', 'T', 'D', '9095', 'e', 'g', 'Z', '6013', 'X', 'p', 'U', 'd', 'b', 'n', 'Z']

Answer:
r, j, H, m, c, O, n, u, V, F, P, T, D, e, g, Z, X, p, U, d, b, n, Z, 7745, 2427, 7789, 4211, 4411, 1981, 451, 9131, 589, 879, 9095, 6013