Task: Program Execution
Input (English): 1, 3, ['i', 'n', 'g']
Output (English): gni