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.

Q: ['S', '8623', '3431', 'l', '3533', 'M', '1275', 'b', '8911', 'X', '175', 'V', 'p', '8409', 't', 'i', '2873', 'J', 'v', '7249', '6847', '1585', 'h', 'y', 'I']

A: S, l, M, b, X, V, p, t, i, J, v, h, y, I, 8623, 3431, 3533, 1275, 8911, 175, 8409, 2873, 7249, 6847, 1585
****
Q: ['6297', 'S', '7737', 'b', '9907', 'Q', 'Q', 'H', 'F', '7837', '9685', 'H', '1581', '3547', 'b', 'q', 'v']

A: S, b, Q, Q, H, F, H, b, q, v, 6297, 7737, 9907, 7837, 9685, 1581, 3547
****
Q: ['9083', '4969', 'P', '3831', 'q', 'o', 'Z', 'H', 'H', '5829', 'L', 'q', 'l', 'W', '1787', '1507', 'A', '5693', 'i', '889', '3445', '2437', '6987', '3987', '4551', '4723', '655', 's', 'P']

A:
P, q, o, Z, H, H, L, q, l, W, A, i, s, P, 9083, 4969, 3831, 5829, 1787, 1507, 5693, 889, 3445, 2437, 6987, 3987, 4551, 4723, 655
****