Q: 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.
['8891', '45', '4731', '7401', 'q', '9681', '1787', '7515', 'I', '8719', '6447', '9797', 'B', '891', 'H', 'I', '4577', '6295', 'm', '8261']
A:
q, I, B, H, I, m, 8891, 45, 4731, 7401, 9681, 1787, 7515, 8719, 6447, 9797, 891, 4577, 6295, 8261