Task: Program Execution
Input (English): 5, 7, ['w', 'j', 'h', 'I', '4361', '2905', '4751', '8935', 't', 'v', 'm', 'v', 'E', '8803', '6905', '9247', 'p', '2891', 'Q', '5409', '247', 'j']
Output (English): 4361, 2905, 4751