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:
['Q', '8275', 'r', '4235', 'F', 'p']
answer:
Q, r, F, p, 8275, 4235


question:
['7469', 'P', 'K', '9385', '8777', 'E', '6105', 'r', 'L', 'g', '5235', '2143', 'w', '3665', 'F', 'f', '9489', 'N', 'x', 'S']
answer:
P, K, E, r, L, g, w, F, f, N, x, S, 7469, 9385, 8777, 6105, 5235, 2143, 3665, 9489


question:
['4105', 'U', '3937', 'w', 'r', 'A', '9799', '8037', 'x', '317', '2691', 'y', 'W', '421', 'e', 'k', 'b', 'e', '8631', '7067', 'P', '4089', '2713', '5749', 'O', 'U', '9569', '1677', 'O', '4505', 'X', 'U', 'O', 't', '5859', 'R', 'n', 'g', '2783']
answer:

U, w, r, A, x, y, W, e, k, b, e, P, O, U, O, X, U, O, t, R, n, g, 4105, 3937, 9799, 8037, 317, 2691, 421, 8631, 7067, 4089, 2713, 5749, 9569, 1677, 4505, 5859, 2783