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

['9679', '1537', 'V', 'g', 'a', 'e', '861', '4597', 'f', 'P', 'h', '1669', '7221', '4209', '1357', 'C', 't', '3503', '8773']
V, g, a, e, f, P, h, C, t, 9679, 1537, 861, 4597, 1669, 7221, 4209, 1357, 3503, 8773

['1071', '6863', 'f', '6615', '6789']

f, 1071, 6863, 6615, 6789