Task: Program Execution
Input (English): 297, 433, z
Output (English): 2, 3, 4, 7, 9