Task: Program Execution
Input (English): 391, 369, 343, z, 295, 445
Output (English): 1, 2, 3, 4, 5, 6, 9