Task: Program Execution
Input (English): 2, 2, ['N', 'V']
Output (English): V