Task: Program Execution
Input (English): 3, ['6815', '1651', 'g', '8041', 'B', '6739']
Output (English): 8041, B, 6739