Task: Program Execution
Input (English): 2, 7, ['5121', 'x', 'n', 'q', 'u', 'g', '6713', 'J', 'g', '4661', 'D', 'V']
Output (English): 6713guqnx