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: ['6777', '9975', 'j', 'Y']

A: j, Y, 6777, 9975
****
Q: ['A', 'J', 'H', 'r', 'q', 'N', 'B', 'W', 'B', '4775', '9463', '601', '5213', '1179', 'H', '2055', 'v', 'x', 'K', 'U', 'B', '8337', '3011', '7853', 'j', 'u', '4223']

A: A, J, H, r, q, N, B, W, B, H, v, x, K, U, B, j, u, 4775, 9463, 601, 5213, 1179, 2055, 8337, 3011, 7853, 4223
****
Q: ['H', '8371', 'D', 'p', '7145', 'f', '1423', 'L', '9495', '5085', 'B', '973', 'z', '4571', '1541', '9771', '7531', 'E', 'n', '1583', 'S', '8133', '307', 'Q', 'q', 'h', '4615', 'N', 'h', '6415', '9517', 'R']

A:
H, D, p, f, L, B, z, E, n, S, Q, q, h, N, h, R, 8371, 7145, 1423, 9495, 5085, 973, 4571, 1541, 9771, 7531, 1583, 8133, 307, 4615, 6415, 9517
****