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:
['3501', 'g', 'Z', 'Q', '867', '1659', '4049', '7137', 'r', 'Q', '1759', 'W', '667', '1997', 'D', '3655', 'h', '2805', 'R', '5181']
answer:
g, Z, Q, r, Q, W, D, h, R, 3501, 867, 1659, 4049, 7137, 1759, 667, 1997, 3655, 2805, 5181


question:
['E', '9735', '5335', '7533', 'h', 'k', '3389', '649', '7353', '9619', 'H', 'H', '1837', 'i', 'J', '3083', 'Z', 'W', 'R', 'C', '3509', '9051', '645', 'R', '3019', 'p', '7435', '7011', '9531', '8443', 'C', 'F', '6463']
answer:
E, h, k, H, H, i, J, Z, W, R, C, R, p, C, F, 9735, 5335, 7533, 3389, 649, 7353, 9619, 1837, 3083, 3509, 9051, 645, 3019, 7435, 7011, 9531, 8443, 6463


question:
['A', '1513', 'P', 'M', '7141', 's', '8307', 'y', '9359', '5543', '1903', '9055', '7841', '1473', 'K', 'G', '2141', 'o', 'f', 'c', 'J', '4639', 'T', 'Y', 'a', 'z', 'g', 'L', 'V', 'A', 'K', 'U', '4107', 'x', 'I', '1621', '3631', 'D']
answer:

A, P, M, s, y, K, G, o, f, c, J, T, Y, a, z, g, L, V, A, K, U, x, I, D, 1513, 7141, 8307, 9359, 5543, 1903, 9055, 7841, 1473, 2141, 4639, 4107, 1621, 3631