Task: Program Execution
Input (English): 3, 3, ['2147', '6959', 'O']
Output (English): O