Task: Program Execution
Input (English): 4, 4, ['A', 'P', '7653', '4503', 'T', '5151', 'I', '3935', '2085', '3767', 'b', 'l', '4501']
Output (English): 4503