Task: Program Execution
Input (English): 2, 3, ['J', 'w', 's']
Output (English): ws