Task: Program Execution
Input (English): 2, ['5089', 'q', 'E', '1829']
Output (English): 5089, E