Task: Program Execution
Input (English): 347, 129, 493, f, i, 315, z
Output (English): 1, 2, 3, 4, 5, 7, 9