Task: Program Execution
Input (English): 3, 6, ['e', '7957', '7353', '4161', 't', 'Q', 'G']
Output (English): Qt16143537