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.

[EX Q]: ['4849', 'a', 'S', '1949', '3149', 'N', 'U', 'U', 'Y', '8719', '95', 'W', 'N', 'K', 'Y', 'h', '8043', '3017', 'r', 'e', 'q', 'd', 'x', '7791', '751', 'x', '153', 'd', '7211', 'c', 'y', '3711', '6429', '3663']
[EX A]: a, S, N, U, U, Y, W, N, K, Y, h, r, e, q, d, x, x, d, c, y, 4849, 1949, 3149, 8719, 95, 8043, 3017, 7791, 751, 153, 7211, 3711, 6429, 3663

[EX Q]: ['B', 'T', 'y', '4863', '715', 'O', 'i', 'n', '4171', '5175', 's', '4793', '9007', '9755', 'o', 'z', 'S', 'J', 'b', 'q', '5045', '7965']
[EX A]: B, T, y, O, i, n, s, o, z, S, J, b, q, 4863, 715, 4171, 5175, 4793, 9007, 9755, 5045, 7965

[EX Q]: ['379', '7131', '2911', '3387', '2345']
[EX A]:
379, 7131, 2911, 3387, 2345