Task: Program Execution
Input (English): 4, 4, ['Y', 'n', 'X', 'o']
Output (English): 0