Task: Program Execution
Input (English): 8139, 1723, 5573, 9551, 831, Z, V, 9097, 4205, X
Output (English): 1, 2, 3, 4, 5, 8, 9