Task: Program Execution
Input (English): 361, 123, q, 393, 283, 329, g, 213, 239, n, 395, p
Output (English): 1, 2, 3, 5, 6, 8, 9