Task: Program Execution
Input (English): 2, ['5747', 'n', '9541', 'd']
Output (English): 5747, n