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.

['1243', '6133', '7145', '4061', '4919', 'y', '2955', '2707', 'y', 'w', 'P', 'c', '6387', '5119', 'c', 'B', 'N', '4849', '7999', '4571', 'U', 'M', 'S', '5981', 'n']
y, y, w, P, c, c, B, N, U, M, S, n, 1243, 6133, 7145, 4061, 4919, 2955, 2707, 6387, 5119, 4849, 7999, 4571, 5981

['5401', '8905', '3769', 'N', '673', '953', 'e', '953', '5369']
N, e, 5401, 8905, 3769, 673, 953, 953, 5369

['c', 'y', 'u', '1253', '4357', 'F', 'M', '9461', '7931', 'C', 'R', '7207', 'U', '5193', '7549', 'R']

c, y, u, F, M, C, R, U, R, 1253, 4357, 9461, 7931, 7207, 5193, 7549