Task: Program Execution
Input (English): X, A, 333, S, 1875, z, t, q, 3297
Output (English): 1, 2, 4, 6, 7, 8