Q: 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.
['g', 't', 'P', 'o', 'G', '1939', 'C', '2859', '6961', '6631', 'm', '7613', 'Y', '3477', 'P', '9789', '4501', '9803', 'i', 'W', '5559', 'Q', '4385', '1417', 'p', 'R', '9547', 'n', 'E', 's', 't', '7041', 'E', '8265', '5475', 'W', '6403', 'e']
A:
g, t, P, o, G, C, m, Y, P, i, W, Q, p, R, n, E, s, t, E, W, e, 1939, 2859, 6961, 6631, 7613, 3477, 9789, 4501, 9803, 5559, 4385, 1417, 9547, 7041, 8265, 5475, 6403