Task: Program Execution
Input (English): 135, 465, 253, 231, p
Output (English): 1, 2, 3, 4, 5, 6