Task: Program Execution
Input (English): 5, 7, ['137', 'f', '877', '529', '1591', '7313', '7075', '7229', 'K']
Output (English): 1591, 7313, 7075