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: ['W', '7631', 'q', '9985', 'c', 'J', '3255', '1731', '9057', 'E', '2613', 'w', '9817', 'F', '5961', 'E', 'a', '5483']

SOLUTION: W, q, c, J, E, w, F, E, a, 7631, 9985, 3255, 1731, 9057, 2613, 9817, 5961, 5483

PROBLEM: ['g', '6655', '5205', '9691', '2187', '2107', '3989', '2683', '4449', 'c', 'w', 'X', 'F', 'e', '7205', 'A', '4927', 'K', '7967', 'd', 'C', 'l', 'i', '941', 'T', '8779', 'X', 'q', 'e', '675', '2565', '8849', '4991', 'u', '7687', 'f', 'f', 'S', 'E', '2451']

SOLUTION: g, c, w, X, F, e, A, K, d, C, l, i, T, X, q, e, u, f, f, S, E, 6655, 5205, 9691, 2187, 2107, 3989, 2683, 4449, 7205, 4927, 7967, 941, 8779, 675, 2565, 8849, 4991, 7687, 2451

PROBLEM: ['q', '2655', '4107', '6087', 'h', '7865', 'U', 'I', '4933', '6853', '3809', '2089', '9745', '289', '1065']

SOLUTION:
q, h, U, I, 2655, 4107, 6087, 7865, 4933, 6853, 3809, 2089, 9745, 289, 1065