Task: Program Execution
Input (English): 5, 7, ['5985', '4579', '3781', 'H', '5917', 'm', '3627', '9239', 'g', '7093', 'g', '783']
Output (English): 3627, m, 5917