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: ['u', 'M', 'l', 'F', '5951', '4811', '2237', '9935', 'e', 'w', '5215', 'o', 'b', '9323', 'u', '9215', 'g', '7527', '6297', 'p', '593', '4813', 'Z', '3411', 'k', '5917', '7927', 'y', '1933', 'S', '7151']

A: u, M, l, F, e, w, o, b, u, g, p, Z, k, y, S, 5951, 4811, 2237, 9935, 5215, 9323, 9215, 7527, 6297, 593, 4813, 3411, 5917, 7927, 1933, 7151
****
Q: ['7637', '9993', '9947', 'w', '7593', '5621', 'W', 'W', '7157', '4811', '873', '7065', '3095', 'o', 'S', '5275', '3847', '4315', 'x', '53', '5923', 'v', 'h', 'N', 'L', 'S', '2547', '1703', '7883', '7665']

A: w, W, W, o, S, x, v, h, N, L, S, 7637, 9993, 9947, 7593, 5621, 7157, 4811, 873, 7065, 3095, 5275, 3847, 4315, 53, 5923, 2547, 1703, 7883, 7665
****
Q: ['2059', '7841', '1027', '4165', '4881', '9669', '673', '6945', '9953', 'h', 'b', '1487', '1287', '3265', 'H']

A:
h, b, H, 2059, 7841, 1027, 4165, 4881, 9669, 673, 6945, 9953, 1487, 1287, 3265
****