Task: Program Execution
Input (English): 7, 7, ['3455', '2049', 'g', '8767', '1185', 'z', '5961']
Output (English): 5961