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:
['u', 'x', 'x', '905', '2635', 'H', '8797', '1695', '3545', 'e', '9241', '3829', '9471', 'm', '97', 'h', '5031']
answer:
u, x, x, H, e, m, h, 905, 2635, 8797, 1695, 3545, 9241, 3829, 9471, 97, 5031


question:
['7455', 'p', '77', '3019', '135', '7585', '8201', '7115', '6619', 'F', '8747', 'K', 'p', '577', '5725', '1403', 'B', 'G', '627', 'S', '7325', '9579', '1985', 'W', '539', 'L']
answer:
p, F, K, p, B, G, S, W, L, 7455, 77, 3019, 135, 7585, 8201, 7115, 6619, 8747, 577, 5725, 1403, 627, 7325, 9579, 1985, 539


question:
['U', 'P', 'h', 'A', 'w', 'x', '6729']
answer:

U, P, h, A, w, x, 6729