Task: Program Execution
Input (English): 3, 5, ['1751', 'f', 'B', '709', '9797', 'G', 'X', '1643', '709', '3123', '5905', '6977']
Output (English): B, 709, 9797