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', 'w', '7643', 'd', '7009', 'T', '7699', 'x', '1841', '3089', '9643', 'k', 'G', '9685', 'L', 'p', 'c', '9295', '1583', 'r']

SOLUTION: F, w, d, T, x, k, G, L, p, c, r, 7643, 7009, 7699, 1841, 3089, 9643, 9685, 9295, 1583

PROBLEM: ['5517', 'D', '4687', '7619', 'L', '6063', 'Z', 'v', '411', 'f', '8321', 'S', '7131', '5297', 'S', '2445', 'l', 'z', 'Z', 'D', 'j', '2007', 'f', '3147', '3659', '2051']

SOLUTION: D, L, Z, v, f, S, S, l, z, Z, D, j, f, 5517, 4687, 7619, 6063, 411, 8321, 7131, 5297, 2445, 2007, 3147, 3659, 2051

PROBLEM: ['A', '8017', '775', 'J', '4337', 'Z', 'l', 'V', '4255', '2423', '2785', '8711', '1387', '9971', 'n', 'j', 'q', '7935', 'x', 'c', 'V', '8685', 'G', '8819', 'a', '8297', '769', '7093', '775', 'R', 'Y']

SOLUTION:
A, J, Z, l, V, n, j, q, x, c, V, G, a, R, Y, 8017, 775, 4337, 4255, 2423, 2785, 8711, 1387, 9971, 7935, 8685, 8819, 8297, 769, 7093, 775