Task: Program Execution
Input (English): 9, 12, ['t', 'S', '5623', 'p', '9295', 'K', '8165', 'R', '9049', '9351', '4197', '1667', '8395']
Output (English): 1667, 4197, 9351, 9049