Task: Program Execution
Input (English): d, p, 377, 31, 345, 327
Output (English): 1, 2, 3, 4, 5, 7