Task: Program Execution
Input (English): V, n, P
Output (English): 3