Task: Program Execution
Input (English): 4, 7, ['671', 'g', 'F', 'v', 'h', '1147', 'P']
Output (English): v, h, 1147, P