Task: Program Execution
Input (English): 6, 6, ['9935', '2703', 'p', '1197', 'P', '1539']
Output (English): 1539