Task: Program Execution
Input (English): 5, 10, ['1835', '2669', '3033', '2543', 'J', '9837', '11', '907', '1983', 'X', '2767']
Output (English): J, 9837, 11, 907, 1983, X