Task: Program Execution
Input (English): 9471, O, 5367, 113, B, 503, 3071
Output (English): 9471, 5367, 113, 503, 3071