Task: Program Execution
Input (English): V, 3533, 6261, P
Output (English): 2