Task: Program Execution
Input (English): 339, 237, 161, z, a
Output (English): 1, 2, 3, 6, 7, 9