Task: Program Execution
Input (English): 293, 333, 125, 135, 31, 395, 435, 237, p, 345, p, 49, 471, 195, 397
Output (English): 1, 2, 3, 4, 5, 7, 9