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:
['h', '997', 'A', 'p', 'y', 'B', '4121', '2701', 'i']
answer:
h, A, p, y, B, i, 997, 4121, 2701


question:
['k', '507', 'I', '6705', '9645', 'H', '3897']
answer:
k, I, H, 507, 6705, 9645, 3897


question:
['B', 'h', '9861', '7731', 'M', 'w', 'c', 'i', '8981', 'R', '1205', 'p', '343', '6373', '5973', 'n', 'J', 'j', 'X', '1889', 'Z', '7399', '8823', 'l', '3729', '7365', 'B', 'r', 'W', '5675', 'l', 'h', 'G', 'o', '6937', 'X', '8681']
answer:

B, h, M, w, c, i, R, p, n, J, j, X, Z, l, B, r, W, l, h, G, o, X, 9861, 7731, 8981, 1205, 343, 6373, 5973, 1889, 7399, 8823, 3729, 7365, 5675, 6937, 8681