Task: Program Execution
Input (English): 2, 3, ['p', 'v', 'W']
Output (English): Wv