Task: Program Execution
Input (English): 2, 5, ['877', 'x', '7471', 'j', '4681']
Output (English): 4681j7471x