Task: Program Execution
Input (English): 2, 5, ['o', '1449', '3865', 'J', '2901', 'X', 'O', '5171', 'Y', 'I', '1181', 'Q', '3333', 'q', 't', '8697']
Output (English): 1449, O, Q