Task: Program Execution
Input (English): 2, 7, ['J', 'O', 'W', 'b', '8475', 'w', '8289']
Output (English): 8289w8475bWO