Task: Program Execution
Input (English): 2, 6, ['p', 'e', 'h', 'u', 'W', 'G']
Output (English): ehuWG