Task: Program Execution
Input (English): 2, 5, ['5815', 'f', 'j', 'S', 'x']
Output (English): xSjf