Task: Program Execution
Input (English): 3, 3, ['O', '5113', '5387', '2121', 'p']
Output (English): 5387