Task: Program Execution
Input (English): 7, 8, ['t', '6781', '2539', 'n', '8721', '5473', '5709', 'e', 'q']
Output (English): 5709e