Task: Program Execution
Input (English): 2, 3, ['6879', '8273', '587', 'j', '6815']
Output (English): 587, 8273