Task: Program Execution
Input (English): 3, 6, ['J', 'A', '957', 'B', '3153', '9897']
Output (English): 957, B, 3153, 9897