TASK DEFINITION: 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.
PROBLEM: ['5063', '7759', 'Y', '2415', 'p', 'R', 'S', '2313', 'i', '7155', 'z', 'R']

SOLUTION: Y, p, R, S, i, z, R, 5063, 7759, 2415, 2313, 7155

PROBLEM: ['H', 'X']

SOLUTION: H, X

PROBLEM: ['8243', '5187', '3885']

SOLUTION:
8243, 5187, 3885