Task: Program Execution
Input (English): 2, 3, ['n', '8661', '4957', 'O', '7267', 'W', '9457', 'P', '4299', 'Q', '9657']
Output (English): 8661, 7267, P, 9657