Task: Program Execution
Input (English): 1, 2, ['B', '1851', '7717', '3367', 'P', '4201', '9707']
Output (English): B, 7717, P, 9707