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