Task: Program Execution
Input (English): 5, 9, ['N', '5605', '87', 't', '5997', 'i', '2679', 'U', '2975', '4185', '5161']
Output (English): 2975, U, 2679, i, 5997