instruction:
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:
['F', 'w', '7643', 'd', '7009', 'T', '7699', 'x', '1841', '3089', '9643', 'k', 'G', '9685', 'L', 'p', 'c', '9295', '1583', 'r']
answer:
F, w, d, T, x, k, G, L, p, c, r, 7643, 7009, 7699, 1841, 3089, 9643, 9685, 9295, 1583


question:
['7877', '8991', '5669', 'r', '4699', '3493', '9175', 'j', 'e', '9885', '9621', 'a', '8083', 'L', 'G', '787', '4821', '6591', '2251']
answer:
r, j, e, a, L, G, 7877, 8991, 5669, 4699, 3493, 9175, 9885, 9621, 8083, 787, 4821, 6591, 2251


question:
['5291', 'H', 'w', '5155', '1243', 'i', 'E', '1707', 'y', 'j', 'R', '899', '5523', '1443', '8511', '2875', 'p']
answer:

H, w, i, E, y, j, R, p, 5291, 5155, 1243, 1707, 899, 5523, 1443, 8511, 2875