Task: Program Execution
Input (English): 5, 12, ['2543', 'f', '2109', 'e', 'Y', 'x', 'p', '4399', 'Y', '8729', 'a', '7241', 'k']
Output (English): 7241, a, 8729, Y, 4399, p, x, Y