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: ['H', 's', '7673', 'x', 't', 'y', '4779', '895', 'R', '2371', 'K', '8315', 'E', 'i', '881', '2265', 'O', 'A', 'Z', 'Q', 'c', 'V', 'O']

SOLUTION: H, s, x, t, y, R, K, E, i, O, A, Z, Q, c, V, O, 7673, 4779, 895, 2371, 8315, 881, 2265

PROBLEM: ['167', '8849', 'w', 'j', 'f', 'h', '7107', 'i', 'g', 'p', 'j', 'p', 'i', '6207', '7797', '2815', 'f', '8381', 'u', 'k', 'q']

SOLUTION:
w, j, f, h, i, g, p, j, p, i, f, u, k, q, 167, 8849, 7107, 6207, 7797, 2815, 8381