Task: Program Execution
Input (English): B, 9561, 4741, w, H, 8793, 5723, 2267
Output (English): 2, 3, 6, 7, 8