TASK DEFINITION: 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.
PROBLEM: ['Z', '6277', '2029', 'w', '6679', '9161', 'P', 'N', 'v']

SOLUTION: Z, w, P, N, v, 6277, 2029, 6679, 9161

PROBLEM: ['8903', '8775', '451', 'J', 'H', '4257', 'M', '549', 'A', 'H', '7433', 'D', 'v', 'g', '1261', 'W', '5047']

SOLUTION: J, H, M, A, H, D, v, g, W, 8903, 8775, 451, 4257, 549, 7433, 1261, 5047

PROBLEM: ['z', '1333', '9463', '5905', 'n', 'l', '4363', '1139', '1407', 'I', 'I', '8867', 'Q', 'm', 'K', '9643', '1295', '7625', '4945', '3863', '2837', 't', 'Y', '3003', 'g', 'Z', '2881']

SOLUTION:
z, n, l, I, I, Q, m, K, t, Y, g, Z, 1333, 9463, 5905, 4363, 1139, 1407, 8867, 9643, 1295, 7625, 4945, 3863, 2837, 3003, 2881