Task: Program Execution
Input (English): 8, 10, ['2421', 'K', '2435', '2709', '5033', '9181', '3199', '1187', '1493', '1651', '6811', '7289', '9671', '4385', 'P', 'B', 'q', '6271', 'c']
Output (English): 1651, 1493, 1187