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: ['m', 'f', '3429', '6557', 'U', '4541', 'o']

SOLUTION: m, f, U, o, 3429, 6557, 4541

PROBLEM: ['v', 'n', '5785', 'k', '5277', 'k', '783', '8175', '3971']

SOLUTION: v, n, k, k, 5785, 5277, 783, 8175, 3971

PROBLEM: ['1909', 'L', '9739', '4677', 'j', '1575', '7861', '7565', '579', 'H', 'h', '369', '6355', '2007', '5539', 'Y', 'H', 'Q', 'h', '7323', '7369', 'c', '1279', 'B', '5197', '5125', 'n', 'p', '693', '9819', 'r', '5399', 'E', 'B']

SOLUTION:
L, j, H, h, Y, H, Q, h, c, B, n, p, r, E, B, 1909, 9739, 4677, 1575, 7861, 7565, 579, 369, 6355, 2007, 5539, 7323, 7369, 1279, 5197, 5125, 693, 9819, 5399