Task: Program Execution
Input (English): 2, 3, ['9075', 'N', '2969', '7967', '1543', '8497', 'z', '1827', 'f']
Output (English): N, 2969