Task: Program Execution
Input (English): n, v, 949
Output (English): 1