Task: Program Execution
Input (English): 1, 5, ['2851', '969', 'P', '2127', '7181', '1831', '691', '8325', 'y', 'f', '5027', '9427', 'o', '9327', 'z', '1493', '9413', '9613', 'x', '9351', '643', 'z', '2229', 'N', '3761', '1595']
Output (English): 2851, 1831, 5027, 1493, 643, 1595