Task: Program Execution
Input (English): 2, ['9997', 'S', '7177', 'Z']
Output (English): 9997, S