Task: Program Execution
Input (English): v, 5719, 759, 3581, B
Output (English): 1, 5