Task: Program Execution
Input (English): 2, 2, ['X', 'w']
Output (English): w