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: ['4259', '4973', '181', '5487', '825', 'E', '1663', '9783', 'U', 'a', 'W', '3997', 'M', 'x', 'M', 'h', '4489', '9773', 'f', '3967', '8857', 'Z', 'O', 'O', 'Q', 'K', '8201', 'U']

SOLUTION: E, U, a, W, M, x, M, h, f, Z, O, O, Q, K, U, 4259, 4973, 181, 5487, 825, 1663, 9783, 3997, 4489, 9773, 3967, 8857, 8201

PROBLEM: ['F', 'E', 'p', 'd', '8159', 'a', '6625', '8905', '5515', 'P', 'W', '6557', '9587', '5477', 'S', 'z', '9427']

SOLUTION: F, E, p, d, a, P, W, S, z, 8159, 6625, 8905, 5515, 6557, 9587, 5477, 9427

PROBLEM: ['411', '6303', 'F']

SOLUTION:
F, 411, 6303