Task: Program Execution
Input (English): 157, p
Output (English): 1, 5, 7