Task: Program Execution
Input (English): 3, 3, ['x', '1269', 'O']
Output (English): O