Task: Program Execution
Input (English): 4, 10, ['7673', 'h', 'P', '5435', 'O', '5941', '5265', 'Q', '3013', '5967', 'S', '2831', '5997', '3593', '8233', 'P', '6899', '5677', 'u', '669']
Output (English): 5435, 3593