Task: Program Execution
Input (English): n, p
Output (English):