Task: Program Execution
Input (English): 3, 6, ['9571', '6971', '7215', '5935', '3031', 'n', 'U', '5197', '7775', '2461', '3705', 'p', '2359', '8013', '6515', '2917']
Output (English): 7215, 7775, 6515