Task: Program Execution
Input (English): 5, 9, ['a', '2637', '1619', 'X', '1987', 'o', 'a', 'J', '6485', 'x', '2951', 'u']
Output (English): 1987, o, a, J, 6485