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', '3969', 'X', 'D', '1321', '749', '6621', 'f', 'd', 'i', 's', '8399', 'P', '9363', '495', 'e', 'o']
[A]: U, X, D, f, d, i, s, P, e, o, 3969, 1321, 749, 6621, 8399, 9363, 495


[Q]: ['v', '4855', 'U', '1143', '299', '7257', 'U', '7749', 'G', 'Y', 'f', 't', '8953', '9719', 'T', 'M', 'w', 'S', '5935', '9303', '4971', '887', 'p', '4953', '5109', 't', '7827', '7537', '1299']
[A]: v, U, U, G, Y, f, t, T, M, w, S, p, t, 4855, 1143, 299, 7257, 7749, 8953, 9719, 5935, 9303, 4971, 887, 4953, 5109, 7827, 7537, 1299


[Q]: ['5481', '3543']
[A]:
5481, 3543