Task: Program Execution
Input (English): 3, p
Output (English): 1