Task: Program Execution
Input (English): 271, p
Output (English): 1, 2, 7