Task: Program Execution
Input (English): 2, 3, ['U', 'T', 'W', 'U', 's', 'o']
Output (English): WT