Task: Program Execution
Input (English): 4, ['5355', '8531', 'D', '1983', 'J', '7183', 'G', 'F']
Output (English): 5355, J