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: ['2217', '9971', 'M', 'f', '407', 'q', '1233', 'f', '6335', '8037', 'l', 'Z', 'w', '8193', '891', 'X', '7163', 'P']

Answer: M, f, q, f, l, Z, w, X, P, 2217, 9971, 407, 1233, 6335, 8037, 8193, 891, 7163


Question: ['9779', 'z', 'p', 'W', '7659', '2619', 'a', '3109', 'i', 'R', 'a', '5287', 'j', '3473', '4907', '7261', 'h', '5289', '43', 'l', 'M', 'o', 'm']

Answer: z, p, W, a, i, R, a, j, h, l, M, o, m, 9779, 7659, 2619, 3109, 5287, 3473, 4907, 7261, 5289, 43


Question: ['l', '4557', 'n', 'y', 'c', 'P', 'U', '303', 'v', '4815', 'D', '6733', 'R', '1711', 't', '6611', '7661', '339', 'v', '8903', '5075', '3603', 'm', '5529', '643', '7691', 'H', 'y', 'k', 'Z', 'Z']

Answer:
l, n, y, c, P, U, v, D, R, t, v, m, H, y, k, Z, Z, 4557, 303, 4815, 6733, 1711, 6611, 7661, 339, 8903, 5075, 3603, 5529, 643, 7691