Task: Program Execution
Input (English): 3, ['1577', '3345', 'y', '7987', '5927', '6311', 'Z', 't', 's']
Output (English): 1577, 7987, Z