Task: Program Execution
Input (English): 6, 6, ['3503', 'n', '7475', '5053', 'I', 'O']
Output (English): O