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: ['F', 'M', '7785', 'K', 'o', 'k', 'E', '6399', 'R', '7269', 'a', 'b', 'K', '9663', 'g', 'l', 'Z', 'i', '5817', '8933', '8171', 'l', '715', '703', 'a', '3603', 'N', '7361', 'a', '6225', 'O', 'B', '1295', '8469']

SOLUTION: F, M, K, o, k, E, R, a, b, K, g, l, Z, i, l, a, N, a, O, B, 7785, 6399, 7269, 9663, 5817, 8933, 8171, 715, 703, 3603, 7361, 6225, 1295, 8469

PROBLEM: ['155', 'a', 'N', 'F', 's', 'E', '1105', 'i', 'o', '5485', 'T', '9365', '1113', 'Z', 'x', 'B', '2513']

SOLUTION: a, N, F, s, E, i, o, T, Z, x, B, 155, 1105, 5485, 9365, 1113, 2513

PROBLEM: ['v', '3063', 'i', '4355', 'p', 'z', '2817', 'p', '1247', '4603', '4291']

SOLUTION:
v, i, p, z, p, 3063, 4355, 2817, 1247, 4603, 4291